Exemplo n.º 1
0
        // Token: 0x06000092 RID: 146 RVA: 0x00006EB0 File Offset: 0x000050B0
        public virtual void vmethod_1(Stream stream_0, bool bool_0)
        {
            GEnum0 genum0_ = this.GEnum0_0;

            if (genum0_ == GEnum0.String)
            {
                stream_0.WriteByte(34);
                byte[] bytes = Encoding.UTF8.GetBytes(base.method_3(this.object_0.ToString()));
                stream_0.Write(bytes, 0, bytes.Length);
                stream_0.WriteByte(34);
                return;
            }
            if (genum0_ != GEnum0.Boolean)
            {
                byte[] bytes2 = Encoding.UTF8.GetBytes(this.method_6());
                stream_0.Write(bytes2, 0, bytes2.Length);
                return;
            }
            if ((bool)this.object_0)
            {
                stream_0.Write(GClass5.byte_0, 0, 4);
                return;
            }
            stream_0.Write(GClass5.byte_1, 0, 5);
        }
Exemplo n.º 2
0
 public GAttribute12(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     this.method_1(genum0_1);
     this.qOolKaFfsj(genum1_1);
 }
Exemplo n.º 3
0
 public GAttribute13(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     Class13.lOBHd9Nzn7x2T();
     base..ctor();
     this.GEnum0_0 = genum0_1;
     this.GEnum1_0 = genum1_1;
 }
Exemplo n.º 4
0
 public GAttribute13(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     this.GEnum0_0 = genum0_1;
     this.GEnum1_0 = genum1_1;
 }
Exemplo n.º 5
0
 public GAttribute12(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     Class13.lOBHd9Nzn7x2T();
     base..ctor();
     this.method_1(genum0_1);
     this.method_3(genum1_1);
 }
Exemplo n.º 6
0
 public GAttribute13(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     // ISSUE: reference to a compiler-generated field
     this.genum0_0 = genum0_1;
     // ISSUE: reference to a compiler-generated field
     this.genum1_0 = genum1_1;
 }
Exemplo n.º 7
0
 // Token: 0x06000440 RID: 1088 RVA: 0x00004286 File Offset: 0x00002486
 public DoMouseEvent(GEnum0 action, bool isMouseDown, int x, int y, int monitorIndex)
 {
     this.Action       = action;
     this.IsMouseDown  = isMouseDown;
     this.X            = x;
     this.Y            = y;
     this.MonitorIndex = monitorIndex;
 }
Exemplo n.º 8
0
        // Token: 0x06000093 RID: 147 RVA: 0x00006F48 File Offset: 0x00005148
        public string method_6()
        {
            GEnum0 genum0_ = this.GEnum0_0;

            if (genum0_ != GEnum0.String)
            {
                if (genum0_ != GEnum0.Number)
                {
                    throw new InvalidOperationException();
                }
                string text = (this.object_0 is float || this.object_0 is double) ? ((IFormattable)this.object_0).ToString("R", NumberFormatInfo.InvariantInfo) : ((IFormattable)this.object_0).ToString("G", NumberFormatInfo.InvariantInfo);
                if (!(text == "NaN") && !(text == "Infinity") && !(text == "-Infinity"))
                {
                    return(text);
                }
                return("\"" + text + "\"");
            }
            else if (!(this.object_0 is string) && this.object_0 != null)
            {
                if (this.object_0 is char)
                {
                    return(this.object_0.ToString());
                }
                string str  = "GetFormattedString from value type ";
                Type   type = this.object_0.GetType();
                throw new NotImplementedException(str + ((type != null) ? type.ToString() : null));
            }
            else
            {
                string text2 = this.object_0 as string;
                if (string.IsNullOrEmpty(text2))
                {
                    return("null");
                }
                return(text2.Trim(new char[]
                {
                    '"'
                }));
            }
        }
Exemplo n.º 9
0
 private void method_1(GEnum0 genum0_1)
 {
     this.genum0_0 = genum0_1;
 }
Exemplo n.º 10
0
 public GAttribute12(GEnum0 genum0_1)
 {
     Class13.NP5bWyNzLwONS();
     this..ctor(genum0_1, (GEnum1)1);
 }
Exemplo n.º 11
0
 public GAttribute13(GEnum0 genum0_1)
 {
     Class13.lOBHd9Nzn7x2T();
     this..ctor(genum0_1, (GEnum1)1);
 }
Exemplo n.º 12
0
 public GAttribute13(GEnum0 genum0_1)
     : this(genum0_1, GEnum1.Default)
 {
 }
Exemplo n.º 13
0
 public static extern IntPtr ShellExecute(IntPtr intptr_0, string string_0, string string_1, string string_2, string string_3, GEnum0 genum0_0);
Exemplo n.º 14
0
 public static extern IntPtr CreateFile(string string_0, GEnum0 genum0_0, GEnum1 genum1_0, IntPtr intptr_0, GEnum2 genum2_0, uint uint_4, uint uint_5);
Exemplo n.º 15
0
 public GAttribute14(GEnum0 genum0_1, GEnum1 genum1_1)
 {
     this.GEnum0_0 = genum0_1;
     this.GEnum1_0 = genum1_1;
 }