System\Xml\Schema\XmlSchemaObjectTable.cs (16)
21Debug.Assert(!_table.ContainsKey(name), "XmlSchemaObjectTable.Add: entry already exists");
22_table.Add(name, value);
29if (_table.TryGetValue(name, out oldValue))
31_table[name] = value; //set new value
48if (_table.TryGetValue(name, out oldValue))
50_table[name] = value; //set new value
60_table.Clear();
67if (_table.TryGetValue(name, out value))
69_table.Remove(name);
94Debug.Assert(_table.Count == _entries.Count);
95return _table.Count;
101return _table.ContainsKey(name);
109if (_table.TryGetValue(name, out value))
121return new NamesCollection(_entries, _table.Count);
129return new ValuesCollection(_entries, _table.Count);
135return new XSODictionaryEnumerator(_entries, _table.Count, EnumeratorType.DictionaryEntry);