Пример #1
0
    public void a(b0.a A_0)
    {
        MyList <int> list = new MyList <int>(0x59);

        foreach (KeyValuePair <int, b0.a> pair in this.g)
        {
            if (((b0.a)pair.Value) == A_0)
            {
                list.Add(pair.Key);
            }
        }
        foreach (int num in list)
        {
            if (this.e.Contains(num))
            {
                this.e.Remove(num);
            }
            if (this.g.ContainsKey(num))
            {
                Dictionary <b0.a, int> dictionary;
                b0.a a;
                (dictionary = this.h)[a = this.g[num]] = dictionary[a] - 1;
                this.g.Remove(num);
            }
            this.a(num, false);
        }
        l.i();
    }
Пример #2
0
 public int b(b0.a A_0)
 {
     if (this.h.ContainsKey(A_0))
     {
         return(this.h[A_0]);
     }
     return(0);
 }
Пример #3
0
 public bool c(b0.a A_0)
 {
     foreach (int num in this.e)
     {
         if ((!this.a(num) && this.g.ContainsKey(num)) && (((b0.a) this.g[num]) == A_0))
         {
             return(true);
         }
     }
     return(false);
 }
Пример #4
0
 public void a(int A_0, b0.a A_1)
 {
     if (!this.e.Contains(A_0))
     {
         if (this.h.ContainsKey(A_1))
         {
             Dictionary <b0.a, int> dictionary;
             b0.a a;
             (dictionary = this.h)[a = A_1] = dictionary[a] + 1;
         }
         else
         {
             this.h[A_1] = 1;
         }
         this.g[A_0] = A_1;
         this.e.Add(A_0);
         l.i();
     }
 }