Exemplo n.º 1
0
 private void method_0(Class159 class159_1, IntPtr intptr_0, int int_1, ref bool bool_1)
 {
     WaitCallback waitCallback = null;
     if (this.byte_0 == null || this.byte_0.Length < int_1)
     {
         this.byte_0 = new byte[int_1];
     }
     if (this.stream1_0 != null && class159_1 == this.class159_0)
     {
         lock (this.stream1_0)
         {
             int num = this.stream1_0.vmethod_3(intptr_0, int_1);
             if (num < int_1)
             {
                 bool_1 = true;
                 if (waitCallback == null)
                 {
                     waitCallback = new WaitCallback(this.method_3);
                 }
                 ThreadPool.QueueUserWorkItem(waitCallback);
             }
             return;
         }
     }
     Marshal.Copy(this.byte_0, 0, intptr_0, int_1);
 }
Exemplo n.º 2
0
 public void imethod_3()
 {
     WaitCallback waitCallback = null;
     if (this.enum1_0 == Enum1.const_1)
     {
         return;
     }
     if (this.class159_0 != null && this.enum1_0 == Enum1.const_2 && !this.class159_0.method_5())
     {
         this.enum1_0 = Enum1.const_1;
         this.class159_0.method_2(0f);
         this.class159_0.method_3();
         if (waitCallback == null)
         {
             waitCallback = new WaitCallback(this.method_2);
         }
         ThreadPool.QueueUserWorkItem(waitCallback);
         return;
     }
     this.imethod_5();
     this.enum1_0 = Enum1.const_1;
     this.class159_0 = new Class159(-1, this.class16_0.waveFormat_0, 200, this.float_0, this.bool_0, new Delegate3(this.method_0));
 }
Exemplo n.º 3
0
 public void imethod_5()
 {
     if (this.class159_0 != null && this.enum1_0 != Enum1.const_0)
     {
         this.enum1_0 = Enum1.const_0;
         try
         {
             this.class159_0.Dispose();
         }
         finally
         {
             this.class159_0 = null;
         }
         return;
     }
 }