Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Remove()

void System.Xml.Schema.XmlSchemaObjectTable.Remove ( XmlQualifiedName name)
inlinepackage

Definition at line 293 of file XmlSchemaObjectTable.cs.

294 {
295 if (_table.TryGetValue(name, out var value))
296 {
297 _table.Remove(name);
299 _entries.RemoveAt(index);
300 }
301 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly List< XmlSchemaObjectEntry > _entries
readonly Dictionary< XmlQualifiedName, XmlSchemaObject > _table

References System.Xml.Schema.XmlSchemaObjectTable._entries, System.Xml.Schema.XmlSchemaObjectTable._table, System.Xml.Schema.XmlSchemaObjectTable.FindIndexByValue(), System.index, System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Xml.Schema.SchemaCollectionCompiler.Compile(), System.Xml.Schema.XmlSchemaSet.CopyFromCompiledSet(), and System.Xml.Schema.XmlSchemaSet.RemoveSchemaFromGlobalTables().