Exemplo n.º 1
0
 protected override void EmitMethodPrologue(ExpressionTreeContext context, EnumSerializerMethod method)
 {
     context.Reset(typeof(TObject));
     context.SetCurrentMethod(typeof(TObject), method);
 }
 protected override void EmitMethodPrologue(ExpressionTreeContext context, CollectionSerializerMethod method, MethodInfo declaration)
 {
     context.Reset(typeof(TObject), BaseClass);
     context.SetCurrentMethod(method, CollectionTraitsOfThis);
 }