예제 #1
0
 internal FormatContext(ReadOnlyTypeFormatCollection formats, Type type, Expression buffer, Type concreteType = null)
 {
     this.Formats            = formats;
     this.Type               = type;
     this.Buffer             = buffer;
     this.DeserializableType = concreteType;
 }
예제 #2
0
 internal FormatContextWithValue(ReadOnlyTypeFormatCollection formats, Type type, Expression buffer, Expression value, Type concreteType = null)
     : base(formats, type, buffer, concreteType)
 {
     this.Value = value;
 }