FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (16)
27Debug.Assert(!_table.ContainsKey(name), "XmlSchemaObjectTable.Add: entry already exists");
28_table.Add(name, value);
35if (_table.TryGetValue(name, out oldValue))
37_table[name] = value; //set new value
54if (_table.TryGetValue(name, out oldValue))
56_table[name] = value; //set new value
66_table.Clear();
73if (_table.TryGetValue(name, out value))
75_table.Remove(name);
100Debug.Assert(_table.Count == _entries.Count);
101return _table.Count;
108return _table.ContainsKey(name);
117if (_table.TryGetValue(name, out value))
130return new NamesCollection(_entries, _table.Count);
139return new ValuesCollection(_entries, _table.Count);
146return new XSODictionaryEnumerator(_entries, _table.Count, EnumeratorType.DictionaryEntry);