Skip to content

Commit 9cf7e0a

Browse files
committed
TupleDescriptor: Remove unnesessary info from serialization/deserialization
1 parent 143b3fc commit 9cf7e0a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Orm/Xtensive.Orm/Tuples/TupleDescriptor.cs

Lines changed: 0 additions & 2 deletions
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)