2 implementations of INameScope
System.Private.Xml (2)
System\Xml\Serialization\Mappings.cs (1)
467
internal sealed class StructMapping : TypeMapping,
INameScope
System\Xml\Serialization\NameTable.cs (1)
39
internal sealed class NameTable :
INameScope
14 references to INameScope
System.Private.Xml (14)
System\Xml\Serialization\Mappings.cs (2)
519
object?
INameScope
.this[string? name, string? ns]
527
return ((
INameScope
)_baseMapping)[name, ns];
System\Xml\Serialization\NameTable.cs (1)
78
object?
INameScope
.this[string? name, string? ns]
System\Xml\Serialization\XmlReflectionImporter.cs (3)
2185
private static void AddUniqueAccessor(
INameScope
scope, Accessor accessor)
2209
private static void AddUniqueAccessor(MemberMapping member,
INameScope
elements,
INameScope
attributes, bool isSequence)
System\Xml\Serialization\XmlSchemaImporter.cs (8)
638
private MemberMapping[] ImportTypeMembers(XmlSchemaType type, string? typeNs, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope,
INameScope
elementsScope, ref bool needExplicitOrder, bool order, bool allowUnboundedElements)
755
private 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)
770
private MemberMapping ImportChoiceGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers? members, CodeIdentifiers? membersScope,
INameScope
? elementsScope, string? ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates)
983
private static void AddScopeElement(
INameScope
? scope, ElementAccessor element, ref bool duplicateElements, bool allowDuplicates)
1007
private static void AddScopeElements(
INameScope
? scope, ElementAccessor[] elements, ref bool duplicateElements, bool allowDuplicates)
1017
private 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)
1167
private MemberMapping ImportAnyMember(XmlSchemaAny any, CodeIdentifiers members, CodeIdentifiers membersScope,
INameScope
elementsScope, string? ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates)
1405
private void ImportElementMember(XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope,
INameScope
elementsScope, string? ns, bool repeats, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements)