23 instantiations of NameTable
System.Private.Xml (23)
System\Xml\Serialization\Mappings.cs (2)
517internal NameTable LocalElements => _elements ??= new NameTable(); 518internal NameTable LocalAttributes => _attributes ??= new NameTable();
System\Xml\Serialization\SchemaImporter.cs (2)
69internal NameTable GroupsInUse => _groupsInUse ??= new NameTable(); 71internal NameTable TypesInUse => _typesInUse ??= new NameTable();
System\Xml\Serialization\SoapReflectionImporter.cs (2)
21private readonly NameTable _types = new NameTable(); // xmltypename + xmlns -> Mapping 22private readonly NameTable _nullables = new NameTable(); // xmltypename + xmlns -> NullableMapping
System\Xml\Serialization\Types.cs (1)
467private static readonly NameTable s_primitiveNames = new NameTable();
System\Xml\Serialization\XmlReflectionImporter.cs (14)
29private readonly NameTable _types = new NameTable(); // xmltypename + xmlns -> Mapping 30private readonly NameTable _nullables = new NameTable(); // xmltypename + xmlns -> NullableMapping 31private readonly NameTable _elements = new NameTable(); // xmlelementname + xmlns -> ElementAccessor 535_serializables ??= new NameTable(); 1252NameTable elements = new NameTable(); 1253NameTable attributes = new NameTable(); 1505NameTable arrayItemElements = new NameTable(); // xmlelementname + xmlns -> ElementAccessor 1542NameTable elements = new NameTable(); 1615_xsdAttributes ??= new NameTable(); 1680NameTable anys = new NameTable(); 1793_xsdAttributes ??= new NameTable(); 1921NameTable anys = new NameTable(); 2106NameTable arrayTypes = new NameTable(); 2127NameTable ids = new NameTable();
System\Xml\Serialization\XmlSchemaImporter.cs (2)
485MemberMapping[] members = ImportTypeMembers(type, typeNs, identifier, memberScope, new CodeIdentifiers(), new NameTable(), ref needExplicitOrder, false, false); 772NameTable choiceElements = new NameTable();
31 references to NameTable
System.Private.Xml (31)
System\Xml\Serialization\Mappings.cs (4)
477private NameTable? _elements; 478private NameTable? _attributes; 517internal NameTable LocalElements => _elements ??= new NameTable(); 518internal NameTable LocalAttributes => _attributes ??= new NameTable();
System\Xml\Serialization\SchemaImporter.cs (6)
25private NameTable? _typesInUse; 26private NameTable? _groupsInUse; 69internal NameTable GroupsInUse => _groupsInUse ??= new NameTable(); 71internal NameTable TypesInUse => _typesInUse ??= new NameTable(); 142internal static void AddReference(XmlQualifiedName name, NameTable references, string error) 153internal static void RemoveReference(XmlQualifiedName name, NameTable references)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
21private readonly NameTable _types = new NameTable(); // xmltypename + xmlns -> Mapping 22private readonly NameTable _nullables = new NameTable(); // xmltypename + xmlns -> NullableMapping
System\Xml\Serialization\Types.cs (1)
467private static readonly NameTable s_primitiveNames = new NameTable();
System\Xml\Serialization\XmlReflectionImporter.cs (15)
29private readonly NameTable _types = new NameTable(); // xmltypename + xmlns -> Mapping 30private readonly NameTable _nullables = new NameTable(); // xmltypename + xmlns -> NullableMapping 31private readonly NameTable _elements = new NameTable(); // xmlelementname + xmlns -> ElementAccessor 32private NameTable? _xsdAttributes; // xmlattributetname + xmlns -> AttributeAccessor 35private NameTable? _serializables; // type name --> new SerializableMapping 312private Accessor ReconcileAccessor(Accessor accessor, NameTable accessors) 712private TypeMapping? GetTypeMapping(string? typeName, string? ns, TypeDesc typeDesc, NameTable typeLib, Type? type) 1252NameTable elements = new NameTable(); 1253NameTable attributes = new NameTable(); 1505NameTable arrayItemElements = new NameTable(); // xmlelementname + xmlns -> ElementAccessor 1542NameTable elements = new NameTable(); 1680NameTable anys = new NameTable(); 1921NameTable anys = new NameTable(); 2106NameTable arrayTypes = new NameTable(); 2127NameTable ids = new NameTable();
System\Xml\Serialization\XmlSchemaImporter.cs (3)
772NameTable choiceElements = new NameTable(); 908private bool GatherGroupChoices(XmlSchemaGroup group, NameTable choiceElements, string identifier, string? ns, ref bool needExplicitOrder, bool allowDuplicates) 915private bool GatherGroupChoices(XmlSchemaParticle? particle, NameTable choiceElements, string identifier, string? ns, ref bool needExplicitOrder, bool allowDuplicates)