System\Xml\Schema\XmlSchemaObjectTable.cs (16)
23Debug.Assert(!table.ContainsKey(name), "XmlSchemaObjectTable.Add: entry already exists");
24table.Add(name, value);
30if (table.TryGetValue(name, out oldValue)) {
31table[name] = value; //set new value
47if (table.TryGetValue(name, out oldValue)) {
48table[name] = value; //set new value
57table.Clear();
63if (table.TryGetValue(name, out value)) {
64table.Remove(name);
84Debug.Assert(table.Count == entries.Count);
85return table.Count;
91return table.ContainsKey(name);
98if (table.TryGetValue(name, out value)) {
108return new NamesCollection(entries, table.Count);
115return new ValuesCollection(entries, table.Count);
121return new XSODictionaryEnumerator(this.entries, table.Count, EnumeratorType.DictionaryEntry);