public static CList <V> Synchronized <V>(CList <V> list) { if (list == null) { throw new ArgumentNullException("list"); } return(new SyncList <V>(list)); }
public static CList <V> Repeat <V>(V value, int count) { if (count < 0) { throw new ArgumentException("count", "Non-negative number required."); } CList <V> list = new CList <V>(count); for (int i = 0; i < count; i++) { list.Add(value); } return(list); }
private void method_0(bool bool_1) { if (!this.bool_0) { if (bool_1) { if (this.clist_0 != null) { this.clist_0 = null; } GC.SuppressFinalize(this); } this.bool_0 = true; } }
internal OrderedDictionaryEnumerator(CList <KeyValuePair <TKey, TValue> > list) { this.bool_0 = false; this.int_0 = -1; this.clist_0 = list; }
public SyncList(CList <T> list) { this.list = new CList <T>(); this.list = list; }
public SyncList() { this.list = new CList <T>(); }
public OrderedDictionary(int capacity, IEqualityComparer <TKey> comparer) { this.cdictionary_0 = new CDictionary <TKey, TValue>(capacity, comparer); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }
public OrderedDictionary(int capacity) { this.cdictionary_0 = new CDictionary <TKey, TValue>(capacity); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }
public OrderedDictionary(IDictionary <TKey, TValue> dictionary) { this.cdictionary_0 = new CDictionary <TKey, TValue>(dictionary); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }