public static void Write(MethodGroup l, BinaryWriter writer) { Expression.Write(l.Object, writer); TypeMemberName.Write(l.MethodName, writer); Optional.Write(writer, l.MethodSignature, Signature.Write); TypeName.Write(l.DelegateType, writer); }
public MethodGroup(Expression o, TypeMemberName methodName, Optional <Signature> methodSignature, TypeName delegateType) { Object = o; MethodName = methodName; MethodSignature = methodSignature; DelegateType = delegateType; }
new public static ReadProperty Read(BinaryReader reader) { var _Object = Expression.Read(reader); var _Property = TypeMemberName.Read(reader); return(new ReadProperty( _Object, _Property)); }
public static StaticMemberName Read(BinaryReader reader) { var typeName = TypeName.Read(reader); var memberName = TypeMemberName.Read(reader); return(new StaticMemberName( typeName, memberName)); }
new public static CallDynamicMethod Read(BinaryReader reader) { var _Object = Expression.Read(reader); var _Method = TypeMemberName.Read(reader); var _Arguments = List.Read(reader, Expression.Read); return(new CallDynamicMethod( _Object, _Method, _Arguments)); }
new public static RemoveEventHandler Read(BinaryReader reader) { var _Object = Expression.Read(reader); var _Event = TypeMemberName.Read(reader); var _Handler = Expression.Read(reader); return(new RemoveEventHandler( _Object, _Event, _Handler)); }
new public static WriteProperty Read(BinaryReader reader) { var _Object = Expression.Read(reader); var _Property = TypeMemberName.Read(reader); var _Value = Expression.Read(reader); return(new WriteProperty( _Object, _Property, _Value)); }
new public static MethodGroup Read(BinaryReader reader) { var a = Expression.Read(reader); var b = TypeMemberName.Read(reader); var c = Optional.Read(reader, Signature.Read); var d = TypeName.Read(reader); return(new MethodGroup( a, b, c, d)); }
public StaticMemberName(TypeName typeName, TypeMemberName memberName) { TypeName = typeName; MemberName = memberName; }
protected override void WriteExpression(BinaryWriter writer) { Expression.Write(Object, writer); TypeMemberName.Write(Event, writer); Expression.Write(Handler, writer); }
public RemoveEventHandler(Expression o, TypeMemberName ev, Expression handler) { Object = o; Event = ev; Handler = handler; }
protected override void WriteExpression(BinaryWriter writer) { Expression.Write(Object, writer); TypeMemberName.Write(Property, writer); Expression.Write(Value, writer); }
public WriteProperty(Expression o, TypeMemberName property, Expression value) { Object = o; Property = property; Value = value; }
public ReadProperty(Expression o, TypeMemberName property) { Object = o; Property = property; }
public static void Write(StaticMemberName m, BinaryWriter writer) { TypeName.Write(m.TypeName, writer); TypeMemberName.Write(m.MemberName, writer); }
protected override void WriteExpression(BinaryWriter writer) { Expression.Write(Object, writer); TypeMemberName.Write(Method, writer); List.Write(writer, Arguments, Expression.Write); }
public CallDynamicMethod(Expression o, TypeMemberName method, ImmutableList <Expression> arguments) { Object = o; Method = method; Arguments = arguments; }
public CallDynamicMethod(Expression o, TypeMemberName method, params Expression[] arguments) : this(o, method, ((IEnumerable <Expression>)arguments).ToImmutableList()) { }