protected override MemberInitExpression DecodeTyped(ExpressionType expressionType, ref byte *data, ref int remainingBytes, bool doNotCheckBounds) { var newExpression = (NewExpression)CommonCodec.Decode(ref data, ref remainingBytes, doNotCheckBounds); var bindings = memberBindingCollectionCodec.Decode(ref data, ref remainingBytes, doNotCheckBounds); return(Expression.MemberInit(newExpression, bindings)); }
public MemberMemberBinding Decode(ref byte *data, ref int remainingBytes, bool doNotCheckBounds) { var member = memberInfoCodec.Decode(ref data, ref remainingBytes, doNotCheckBounds); var bindings = memberBindingCollectionCodec.Decode(ref data, ref remainingBytes, doNotCheckBounds); return(Expression.MemberBind(member, bindings)); }