Ejemplo n.º 1
0
 public Struct76(Class222 <T> class222_0, T gparam_2, T gparam_3)
 {
     this             = default(Class222 <T> .Struct76);
     this.struct77_0  = class222_0.class225_0.method_15 <T>(gparam_2);
     this.icomparer_0 = class222_0.method_1();
     this.gparam_1    = gparam_3;
 }
Ejemplo n.º 2
0
 void ICollection.CopyTo(Array array, int index)
 {
     if (this.Count == 0)
     {
         return;
     }
     if (array == null)
     {
         throw new ArgumentNullException("array");
     }
     if (index >= 0 && array.Length > index)
     {
         if (array.Length - index < this.Count)
         {
             throw new ArgumentException();
         }
         using (Class225.Struct77 @struct = this.class225_0.method_14())
         {
             while (@struct.MoveNext())
             {
                 Class222 <T> .Class227 @class = (Class222 <T> .Class227)@struct.Current;
                 array.SetValue(@class.gparam_0, index++);
             }
             return;
         }
     }
     throw new ArgumentOutOfRangeException("index");
 }
Ejemplo n.º 3
0
 public void method_2(T[] gparam_0, int int_0, int int_1)
 {
     if (gparam_0 == null)
     {
         throw new ArgumentNullException("array");
     }
     if (int_0 < 0)
     {
         throw new ArgumentOutOfRangeException("index");
     }
     if (int_0 > gparam_0.Length)
     {
         throw new ArgumentException("index larger than largest valid index of array");
     }
     if (gparam_0.Length - int_0 < int_1)
     {
         throw new ArgumentException("destination array cannot hold the requested elements");
     }
     using (Class225.Struct77 @struct = this.class225_0.method_14())
     {
         while (@struct.MoveNext())
         {
             Class222 <T> .Class227 @class = (Class222 <T> .Class227)@struct.Current;
             if (int_1-- == 0)
             {
                 break;
             }
             gparam_0[int_0++] = @class.gparam_0;
         }
     }
 }
Ejemplo n.º 4
0
            public override void vmethod_0(Class225.Class226 class226_2)
            {
                Class222 <T> .Class227 @class = (Class222 <T> .Class227)class226_2;
                T t = this.gparam_0;

                this.gparam_0   = @class.gparam_0;
                @class.gparam_0 = t;
            }
Ejemplo n.º 5
0
 public Struct76(Class222 <T> class222_0)
 {
     this            = default(Class222 <T> .Struct76);
     this.struct77_0 = class222_0.class225_0.method_14();
 }
Ejemplo n.º 6
0
        public virtual bool vmethod_2(T gparam_0)
        {
            Class222 <T> .Class227 @class = new Class222 <T> .Class227(gparam_0);

            return(this.class225_0.method_1 <T>(gparam_0, @class) == @class);
        }
Ejemplo n.º 7
0
        public Class222(IComparer <T> icomparer_0)
        {
            this.class223_0 = Class222 <T> .Class223.smethod_0(icomparer_0);

            this.class225_0 = new Class225(this.class223_0);
        }