You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2019/03/27 17:28:25 UTC

[GitHub] [ignite] ashapkin commented on a change in pull request #6359: IGNITE-8588 .NET: Serialization issue when derived type hides base type member

ashapkin commented on a change in pull request #6359: IGNITE-8588 .NET: Serialization issue when derived type hides base type member
URL: https://github.com/apache/ignite/pull/6359#discussion_r269682978
 
 

 ##########
 File path: modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryReflectiveSerializerInternal.cs
 ##########
 @@ -142,22 +142,18 @@ bool IBinarySerializerInternal.SupportsHandles
 
             var fields = ReflectionUtils.GetAllFields(type).Where(x => !x.IsNotSerialized).ToList();
 
-            IDictionary<int, string> idMap = new Dictionary<int, string>();
+            var fieldsSet = new HashSet<string>();
 
             foreach (FieldInfo field in fields)
             {
                 string fieldName = BinaryUtils.CleanFieldName(field.Name);
 
-                int fieldId = BinaryUtils.FieldId(typeId, fieldName, converter, idMapper);
 
 Review comment:
   I removed this one, since it was used only for exception message. Correct me if it's still required.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services