Ejemplo n.º 1
0
        new public static ReadStaticField Read(BinaryReader reader)
        {
            var _Field = StaticMemberName.Read(reader);

            return(new ReadStaticField(
                       _Field));
        }
Ejemplo n.º 2
0
        new public static CallStaticMethod Read(BinaryReader reader)
        {
            var _StaticMethod = StaticMemberName.Read(reader);
            var _Arguments    = List.Read(reader, Expression.Read);

            return(new CallStaticMethod(
                       _StaticMethod,
                       _Arguments));
        }
Ejemplo n.º 3
0
 protected override void WriteExpression(BinaryWriter writer)
 {
     StaticMemberName.Write(Field, writer);
 }
Ejemplo n.º 4
0
 public ReadStaticField(StaticMemberName field)
 {
     Field = field;
 }
Ejemplo n.º 5
0
 protected override void WriteExpression(BinaryWriter writer)
 {
     StaticMemberName.Write(StaticMethod, writer);
     List.Write(writer, Arguments, Expression.Write);
 }
Ejemplo n.º 6
0
 public CallStaticMethod(StaticMemberName staticMethod, ImmutableList <Expression> arguments)
 {
     StaticMethod = staticMethod;
     Arguments    = arguments;
 }
Ejemplo n.º 7
0
 public CallStaticMethod(StaticMemberName staticMethod, params Expression[] arguments)
     : this(staticMethod, ((IEnumerable <Expression>)arguments).ToImmutableList())
 {
 }
Ejemplo n.º 8
0
 new public static EnumLiteral Read(BinaryReader reader)
 {
     return(new EnumLiteral(
                StaticMemberName.Read(reader)));
 }
Ejemplo n.º 9
0
 public static void Write(EnumLiteral l, BinaryWriter writer)
 {
     StaticMemberName.Write(l.Value, writer);
 }
Ejemplo n.º 10
0
 public EnumLiteral(StaticMemberName value)
 {
     Value = value;
 }