Exemple #1
0
    public int method_14(int A_0)
    {
        int num = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (num < 0)
        {
            return(-1);
        }
        return(num);
    }
        public int IndexOfKey(int key)
        {
            int num = Class85.smethod_7(this.int_1, 0, this.int_2, key);

            if (num < 0)
            {
                return(-1);
            }
            return(num);
        }
Exemple #3
0
    public void method_5(int A_0, object A_1)
    {
        int num2 = 0x13;
        int num  = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (num >= 0)
        {
            throw new ArgumentException(BookmarkStart.b("崸为䴼匾⡀⁂⑄㍆ⱈ", num2));
        }
        this.method_16(~num, A_0, A_1);
    }
Exemple #4
0
    public void method_4(int A_0, object A_1)
    {
        int index = Class85.smethod_7(this.int_2, 0, this.int_1, A_0);

        if (index >= 0)
        {
            this.object_0[index] = A_1;
        }
        else
        {
            this.method_16(~index, A_0, A_1);
        }
    }
        private static bool smethod_1(AttrCollection A_0, ref int A_1, ref int A_2, int[] A_3)
        {
            int count = A_0.Count;
            int num2  = (A_3 != null) ? A_3.Length : 0;

            while (A_1 < count)
            {
                A_2 = A_0.method_18(A_1);
                if ((A_3 == null) || (Class85.smethod_7(A_3, 0, num2, A_2) < 0))
                {
                    return(true);
                }
                A_1++;
            }
            return(false);
        }
 internal bool method_45(int[] A_0)
 {
     for (int i = 0; i < base.Count; i++)
     {
         int num2 = base.method_18(i);
         if (Class85.smethod_7(A_0, 0, A_0.Length, num2) < 0)
         {
             object obj2 = base.method_19(i);
             if (!(obj2 is Interface31) || !((Interface31)obj2).imethod_0())
             {
                 return(true);
             }
         }
     }
     return(false);
 }
 public object this[int key]
 {
     get
     {
         int index = this.IndexOfKey(key);
         if (index < 0)
         {
             return(null);
         }
         return(this.object_0[index]);
     }
     set
     {
         int index = Class85.smethod_7(this.int_1, 0, this.int_2, key);
         if (index >= 0)
         {
             this.object_0[index] = value;
         }
         else
         {
             this.method_1(~index, key, value);
         }
     }
 }