Skip to content

Commit 1224e7f

Browse files
committed
Re-generated genreated serializer with fixed CodeDOM serializer.
1 parent 0d88b2b commit 1224e7f

90 files changed

Lines changed: 220 additions & 14254 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_ImageSerializer.cs

Lines changed: 0 additions & 160 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_AnnotatedClassSerializer.cs

Lines changed: 9 additions & 177 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeGeneratedEnclosureSerializer.cs

Lines changed: 0 additions & 144 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeGeneratedSerializer.cs

Lines changed: 70 additions & 214 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeSerializer.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,13 @@ public class MsgPack_Serialization_ComplexTypeSerializer : MsgPack.Serialization
2525

2626
private MsgPack.Serialization.MessagePackSerializer<System.Nullable<System.DateTime>> _serializer4;
2727

28-
private System.Reflection.MethodBase _methodBaseComplexType_get_History0;
29-
3028
public MsgPack_Serialization_ComplexTypeSerializer(MsgPack.Serialization.SerializationContext context) :
3129
base(context) {
3230
this._serializer0 = context.GetSerializer<System.Uri>();
3331
this._serializer1 = context.GetSerializer<byte[]>();
3432
this._serializer2 = context.GetSerializer<System.DateTime>();
3533
this._serializer3 = context.GetSerializer<System.Collections.Generic.Dictionary<System.DateTime, string>>();
3634
this._serializer4 = context.GetSerializer<System.Nullable<System.DateTime>>();
37-
this._methodBaseComplexType_get_History0 = typeof(MsgPack.Serialization.ComplexType).GetMethod("get_History", (System.Reflection.BindingFlags.Instance
38-
| (System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)), null, new System.Type[0], null);
3935
}
4036

4137
protected internal override void PackToCore(MsgPack.Packer packer, MsgPack.Serialization.ComplexType objectTree) {
@@ -149,7 +145,7 @@ protected internal override MsgPack.Serialization.ComplexType UnpackFromCore(Msg
149145
; enumerator.MoveNext();
150146
) {
151147
current = enumerator.Current;
152-
((System.Collections.Generic.Dictionary<System.DateTime, string>)(this._methodBaseComplexType_get_History0.Invoke(result, null))).Add(current.Key, current.Value);
148+
result.History.Add(current.Key, current.Value);
153149
}
154150
}
155151
finally {
@@ -203,7 +199,7 @@ protected internal override MsgPack.Serialization.ComplexType UnpackFromCore(Msg
203199
; enumerator0.MoveNext();
204200
) {
205201
current0 = enumerator0.Current;
206-
((System.Collections.Generic.Dictionary<System.DateTime, string>)(this._methodBaseComplexType_get_History0.Invoke(result, null))).Add(current0.Key, current0.Value);
202+
result.History.Add(current0.Key, current0.Value);
207203
}
208204
}
209205
finally {

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithDataContractSerializer.cs

Lines changed: 2 additions & 150 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithDataContractWithOrderSerializer.cs

Lines changed: 2 additions & 154 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithNonSerializedSerializer.cs

Lines changed: 2 additions & 158 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithOneBaseOrderSerializer.cs

Lines changed: 0 additions & 152 deletions
Large diffs are not rendered by default.

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithTwoMemberSerializer.cs

Lines changed: 0 additions & 156 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)