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

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