Esempio n. 1
0
        public static MethodInfo smethod_15(this Type type_0, string string_0, params Type[] type_1)
        {
            Class201 class2 = new Class201 {
                string_0 = string_0
            };

            foreach (MethodInfo info in type_0.GetMethods().Where <MethodInfo>(new Func <MethodInfo, bool>(class2.method_0)))
            {
                if (info.smethod_16(type_1))
                {
                    return(info);
                }
            }
            return(null);
        }
Esempio n. 2
0
 public Stream19(Stream stream_1, Class196 class196_1, int int_0)
 {
     if (stream_1 == null)
     {
         throw new ArgumentNullException("baseInputStream");
     }
     if (class196_1 == null)
     {
         throw new ArgumentNullException("inflater");
     }
     if (int_0 <= 0)
     {
         throw new ArgumentOutOfRangeException("bufferSize");
     }
     this.stream_0   = stream_1;
     this.class196_0 = class196_1;
     this.class201_0 = new Class201(stream_1, int_0);
 }
Esempio n. 3
0
 public void method_8()
 {
     if (this.class192_0 == null)
     {
         throw new InvalidOperationException("Closed");
     }
     if (this.class193_0 == null)
     {
         return;
     }
     if (this.int_0 == 8)
     {
         if ((this.int_1 & 8) != 0)
         {
             byte[] array = new byte[2048];
             while (this.Read(array, 0, array.Length) > 0)
             {
             }
             return;
         }
         this.long_0 -= this.class196_0.method_12();
         Class201 expr_67 = this.class201_0;
         expr_67.method_2(expr_67.method_1() + this.class196_0.method_13());
     }
     if ((long)this.class201_0.method_1() > this.long_0 && this.long_0 >= 0L)
     {
         this.class201_0.method_2((int)((long)this.class201_0.method_1() - this.long_0));
     }
     else
     {
         this.long_0 -= (long)this.class201_0.method_1();
         this.class201_0.method_2(0);
         while (this.long_0 != 0L)
         {
             int num = (int)base.method_0(this.long_0 & 4294967295L);
             if (num <= 0)
             {
                 throw new ZipException("Zip archive ends early.");
             }
             this.long_0 -= (long)num;
         }
     }
     this.method_7(false);
 }
 public abstract void Visit(Class201 c);
 public override void Visit(Class201 c) { }