new public static ReadStaticField Read(BinaryReader reader) { var _Field = StaticMemberName.Read(reader); return(new ReadStaticField( _Field)); }
new public static CallStaticMethod Read(BinaryReader reader) { var _StaticMethod = StaticMemberName.Read(reader); var _Arguments = List.Read(reader, Expression.Read); return(new CallStaticMethod( _StaticMethod, _Arguments)); }
protected override void WriteExpression(BinaryWriter writer) { StaticMemberName.Write(Field, writer); }
public ReadStaticField(StaticMemberName field) { Field = field; }
protected override void WriteExpression(BinaryWriter writer) { StaticMemberName.Write(StaticMethod, writer); List.Write(writer, Arguments, Expression.Write); }
public CallStaticMethod(StaticMemberName staticMethod, ImmutableList <Expression> arguments) { StaticMethod = staticMethod; Arguments = arguments; }
public CallStaticMethod(StaticMemberName staticMethod, params Expression[] arguments) : this(staticMethod, ((IEnumerable <Expression>)arguments).ToImmutableList()) { }
new public static EnumLiteral Read(BinaryReader reader) { return(new EnumLiteral( StaticMemberName.Read(reader))); }
public static void Write(EnumLiteral l, BinaryWriter writer) { StaticMemberName.Write(l.Value, writer); }
public EnumLiteral(StaticMemberName value) { Value = value; }