Skip to content

Commit be6a306

Browse files
authored
Merge pull request #341 from DataObjects-NET/7.1-tupledesrcriptor-serialization-fix
TupleDescriptor: Remove unnecessary info from serialization/deserialization
2 parents 143b3fc + 9cf7e0a commit be6a306

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Orm/Xtensive.Orm/Tuples/TupleDescriptor.cs

-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ public override int GetHashCode()
121121

122122
public void GetObjectData(SerializationInfo info, StreamingContext context)
123123
{
124-
info.AddValue("FieldCount", FieldCount);
125124
info.AddValue("ValuesLength", ValuesLength);
126125
info.AddValue("ObjectsLength", ObjectsLength);
127126

@@ -286,7 +285,6 @@ private TupleDescriptor(Type[] fieldTypes)
286285

287286
public TupleDescriptor(SerializationInfo info, StreamingContext context)
288287
{
289-
var fieldCount = info.GetInt32("FieldCount");
290288
ValuesLength = info.GetInt32("ValuesLength");
291289
ObjectsLength = info.GetInt32("ObjectsLength");
292290

0 commit comments

Comments
 (0)