Esempio n. 1
0
 public void Clear(VisNode self)
 {
     while (--this.num >= 0)
     {
         HSetIter <VisNode> enumerator = this.applicable.GetEnumerator();
         enumerator.MoveNext();
         VisNode current = enumerator.Current;
         enumerator.Dispose();
         this.TryRemove(self, current);
     }
 }
Esempio n. 2
0
 public void Clear(VisNode self)
 {
     while (true)
     {
         VisQuery.Instance instance = this;
         int num  = instance.num - 1;
         int num1 = num;
         instance.num = num;
         if (num1 < 0)
         {
             break;
         }
         HSetIter <VisNode> enumerator = this.applicable.GetEnumerator();
         enumerator.MoveNext();
         VisNode current = enumerator.Current;
         enumerator.Dispose();
         this.TryRemove(self, current);
     }
 }