2 implementations of INameScope
System.Private.Xml (2)
System\Xml\Serialization\Mappings.cs (1)
467internal sealed class StructMapping : TypeMapping, INameScope
System\Xml\Serialization\NameTable.cs (1)
39internal sealed class NameTable : INameScope
14 references to INameScope
System.Private.Xml (14)
System\Xml\Serialization\Mappings.cs (2)
519object? INameScope.this[string? name, string? ns] 527return ((INameScope)_baseMapping)[name, ns];
System\Xml\Serialization\NameTable.cs (1)
78object? INameScope.this[string? name, string? ns]
System\Xml\Serialization\XmlReflectionImporter.cs (3)
2161private static void AddUniqueAccessor(INameScope scope, Accessor accessor) 2185private static void AddUniqueAccessor(MemberMapping member, INameScope elements, INameScope attributes, bool isSequence)
System\Xml\Serialization\XmlSchemaImporter.cs (8)
615private MemberMapping[] ImportTypeMembers(XmlSchemaType type, string? typeNs, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, ref bool needExplicitOrder, bool order, bool allowUnboundedElements) 731private void ImportGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, bool mixed, ref bool needExplicitOrder, bool allowDuplicates, bool groupRepeats, bool allowUnboundedElements) 745private MemberMapping ImportChoiceGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers? members, CodeIdentifiers? membersScope, INameScope? elementsScope, string? ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates) 956private static void AddScopeElement(INameScope? scope, ElementAccessor element, ref bool duplicateElements, bool allowDuplicates) 980private static void AddScopeElements(INameScope? scope, ElementAccessor[] elements, ref bool duplicateElements, bool allowDuplicates) 989private void ImportGroupMembers(XmlSchemaParticle? particle, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, bool groupRepeats, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements) 1136private MemberMapping ImportAnyMember(XmlSchemaAny any, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates) 1371private void ImportElementMember(XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, bool repeats, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements)