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)
2185private static void AddUniqueAccessor(INameScope scope, Accessor accessor) 2209private static void AddUniqueAccessor(MemberMapping member, INameScope elements, INameScope attributes, bool isSequence)
System\Xml\Serialization\XmlSchemaImporter.cs (8)
638private MemberMapping[] ImportTypeMembers(XmlSchemaType type, string? typeNs, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, ref bool needExplicitOrder, bool order, bool allowUnboundedElements) 755private 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) 770private MemberMapping ImportChoiceGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers? members, CodeIdentifiers? membersScope, INameScope? elementsScope, string? ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates) 983private static void AddScopeElement(INameScope? scope, ElementAccessor element, ref bool duplicateElements, bool allowDuplicates) 1007private static void AddScopeElements(INameScope? scope, ElementAccessor[] elements, ref bool duplicateElements, bool allowDuplicates) 1017private 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) 1167private MemberMapping ImportAnyMember(XmlSchemaAny any, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates) 1405private void ImportElementMember(XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, bool repeats, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements)