22 instantiations of MemberMapping
System.Private.Xml (22)
System\Xml\Serialization\Mappings.cs (1)
982
return new
MemberMapping
(this);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
454
var memberMapping = new
MemberMapping
();
1122
var memberMapping = new
MemberMapping
()
System\Xml\Serialization\SoapReflectionImporter.cs (2)
651
MemberMapping member = new
MemberMapping
();
669
MemberMapping member = new
MemberMapping
();
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1379
MemberMapping member = new
MemberMapping
();
1410
MemberMapping member = new
MemberMapping
();
System\Xml\Serialization\XmlSchemaImporter.cs (9)
206
MemberMapping member = new
MemberMapping
();
775
MemberMapping member = new
MemberMapping
();
852
MemberMapping choiceIdentifier = new
MemberMapping
();
1138
MemberMapping member = new
MemberMapping
();
1171
MemberMapping member = new
MemberMapping
();
1419
MemberMapping member = new
MemberMapping
();
1467
MemberMapping member = new
MemberMapping
();
1498
MemberMapping member = new
MemberMapping
();
1561
MemberMapping member = new
MemberMapping
();
System\Xml\Serialization\XmlSerializationReader.cs (3)
2796
MemberMapping member = new
MemberMapping
();
3125
MemberMapping memberMapping = new
MemberMapping
();
4560
MemberMapping memberMapping = new
MemberMapping
();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
643
MemberMapping member = new
MemberMapping
();
1245
MemberMapping memberMapping = new
MemberMapping
();
2859
MemberMapping memberMapping = new
MemberMapping
();
169 references to MemberMapping
System.Private.Xml (169)
System\Xml\Serialization\Mappings.cs (17)
469
private
MemberMapping
[]? _members;
473
private
MemberMapping
? _xmlnsMember;
560
internal
MemberMapping
[]? Members
566
internal
MemberMapping
? XmlnsMember
584
internal
MemberMapping
? FindDeclaringMapping(
MemberMapping
member, out StructMapping? declaringMapping, string? parent)
589
MemberMapping
? baseMember = BaseMapping.FindDeclaringMapping(member, out declaringMapping, parent);
610
internal bool Declares(
MemberMapping
member, string? parent)
863
internal sealed class MemberMappingComparer : IComparer<
MemberMapping
>
865
public int Compare(
MemberMapping
? m1,
MemberMapping
? m2)
907
private MemberMapping(
MemberMapping
mapping)
980
internal
MemberMapping
Clone()
988
private
MemberMapping
[]? _members;
992
private
MemberMapping
? _xmlnsMember;
994
internal
MemberMapping
[]? Members
1000
internal
MemberMapping
? XmlnsMember
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (18)
93
MemberMapping
[] mappings = ((MembersMapping)element.Mapping!).Members!;
133
private bool GenerateLiteralMembersElementInternal(
MemberMapping
[] mappings, bool hasWrapperElement, object?[] p)
146
MemberMapping
mapping = mappings[index];
289
private static void InitializeValueTypes(object?[] p,
MemberMapping
[] mappings)
312
MemberMapping
[] mappings = membersMapping.Members!;
353
MemberMapping
mapping = mappings[index];
454
var
memberMapping = new MemberMapping();
677
MemberMapping
anyTextMapping = anyText.Mapping;
822
MemberMapping
anyElement = anyElementMember.Mapping;
1122
var
memberMapping = new MemberMapping()
1343
MemberMapping
[] mappings = TypeScope.GetSettableMembers(structMapping);
1347
MemberMapping
mapping = mappings[i];
1576
MemberMapping
[] mappings = TypeScope.GetSettableMembers(structMapping);
1577
MemberMapping
? anyText = null;
1578
MemberMapping
? anyElement = null;
1596
MemberMapping
mapping = mappings[i];
2024
public
MemberMapping
Mapping;
2035
public Member(
MemberMapping
mapping)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (7)
550
MemberMapping
[] members = TypeScope.GetAllMembers(mapping);
554
MemberMapping
member = members[xmlnsMember];
577
MemberMapping
m = members[i];
606
MemberMapping
m = members[i];
893
private static int FindXmlnsIndex(
MemberMapping
[] members)
1214
MemberMapping
member = mapping.Members[i];
1242
MemberMapping
member = mapping.Members[i];
System\Xml\Serialization\SchemaImporter.cs (1)
115
mapping.Members = Array.Empty<
MemberMapping
>();
System\Xml\Serialization\SoapReflectionImporter.cs (11)
230
mapping.Members = Array.Empty<
MemberMapping
>();
386
var members = new List<
MemberMapping
>();
395
MemberMapping
? member = ImportFieldMapping(fieldModel, memberAttrs, mapping.Namespace!, limiter);
610
MemberMapping
[] mappings = new
MemberMapping
[xmlReflectionMembers.Length];
616
MemberMapping
? mapping = ImportMemberMapping(member, ns, xmlReflectionMembers, hasWrapperElement ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified, limiter);
647
private
MemberMapping
? ImportMemberMapping(XmlReflectionMember xmlReflectionMember, string? ns, XmlReflectionMember[] xmlReflectionMembers, XmlSchemaForm form, RecursionLimiter limiter)
651
MemberMapping
member = new MemberMapping();
666
private
MemberMapping
? ImportFieldMapping(FieldModel model, SoapAttributes a, string ns, RecursionLimiter limiter)
669
MemberMapping
member = new MemberMapping();
683
private void ImportAccessorMapping(
MemberMapping
accessor, FieldModel model, SoapAttributes a, string? ns, XmlSchemaForm form, RecursionLimiter limiter)
System\Xml\Serialization\Types.cs (13)
1025
internal static
MemberMapping
[] GetAllMembers(StructMapping mapping)
1029
var list = new List<
MemberMapping
>();
1034
internal static void GetAllMembers(StructMapping mapping, List<
MemberMapping
> list)
1047
internal static
MemberMapping
[] GetAllMembers(StructMapping mapping, System.Collections.Generic.Dictionary<string, MemberInfo> memberInfos)
1049
MemberMapping
[] mappings = GetAllMembers(mapping);
1054
internal static
MemberMapping
[] GetSettableMembers(StructMapping structMapping)
1056
var list = new List<
MemberMapping
>();
1061
private static void GetSettableMembers(StructMapping mapping, List<
MemberMapping
> list)
1070
foreach (
MemberMapping
memberMapping in mapping.Members)
1098
internal static
MemberMapping
[] GetSettableMembers(StructMapping mapping, System.Collections.Generic.Dictionary<string, MemberInfo> memberInfos)
1100
MemberMapping
[] mappings = GetSettableMembers(mapping);
1106
private static void PopulateMemberInfos(StructMapping structMapping,
MemberMapping
[] mappings, System.Collections.Generic.Dictionary<string, MemberInfo> memberInfos)
1148
MemberMapping
newMapping = mappings[i].Clone();
System\Xml\Serialization\XmlMemberMapping.cs (3)
12
private readonly
MemberMapping
_mapping;
14
internal XmlMemberMapping(
MemberMapping
mapping)
19
internal
MemberMapping
Mapping
System\Xml\Serialization\XmlReflectionImporter.cs (14)
234
foreach (
MemberMapping
mapping in membersMapping.Members!)
641
mapping.Members = Array.Empty<
MemberMapping
>();
846
var members = new List<
MemberMapping
>();
861
MemberMapping
? member = ImportFieldMapping(model, fieldModel, memberAttrs, mapping.Namespace, limiter);
908
MemberMapping
member = members[i]!;
1251
MemberMapping
[] mappings = new
MemberMapping
[xmlReflectionMembers.Length];
1261
MemberMapping
mapping = ImportMemberMapping(xmlReflectionMembers[i], ns, xmlReflectionMembers, rpc, openModel, limiter);
1326
private
MemberMapping
ImportMemberMapping(XmlReflectionMember xmlReflectionMember, string? ns, XmlReflectionMember[] xmlReflectionMembers, bool rpc, bool openModel, RecursionLimiter limiter)
1379
MemberMapping
member = new MemberMapping();
1408
private
MemberMapping
ImportFieldMapping(StructModel parent, FieldModel model, XmlAttributes a, string? ns, RecursionLimiter limiter)
1410
MemberMapping
member = new MemberMapping();
1529
private void ImportAccessorMapping(
MemberMapping
accessor, FieldModel model, XmlAttributes a, string? ns, Type? choiceIdentifierType, bool rpc, bool openModel, RecursionLimiter limiter)
2209
private static void AddUniqueAccessor(
MemberMapping
member, INameScope elements, INameScope attributes, bool isSequence)
System\Xml\Serialization\XmlSchemaExporter.cs (3)
76
foreach (
MemberMapping
member in mapping.Members!)
1037
private void ExportTypeMembers(XmlSchemaComplexType type,
MemberMapping
[] members, string name, string? ns, bool hasSimpleContent, bool openModel)
1044
MemberMapping
member = members[i];
System\Xml\Serialization\XmlSchemaImporter.cs (23)
198
MemberMapping
[] members = new
MemberMapping
[names.Length];
206
MemberMapping
member = new MemberMapping();
485
MemberMapping
[] members = ImportTypeMembers(type, typeNs, identifier, memberScope, new CodeIdentifiers(), new NameTable(), ref needExplicitOrder, false, false);
589
MemberMapping
? baseMember = ((StructMapping)baseMapping).FindDeclaringMapping(structMapping.Members[i], out declaringMapping, structMapping.TypeName);
621
structMapping.Members = (
MemberMapping
[])members.ToArray(typeof(
MemberMapping
));
638
private
MemberMapping
[] ImportTypeMembers(XmlSchemaType type, string? typeNs, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, ref bool needExplicitOrder, bool order, bool allowUnboundedElements)
687
MemberMapping
[] typeMembers = (
MemberMapping
[])members.ToArray(typeof(
MemberMapping
));
770
private
MemberMapping
ImportChoiceGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers? members, CodeIdentifiers? membersScope, INameScope? elementsScope, string? ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates)
775
MemberMapping
member = new MemberMapping();
852
MemberMapping
choiceIdentifier = new MemberMapping();
1138
MemberMapping
member = new MemberMapping();
1167
private
MemberMapping
ImportAnyMember(XmlSchemaAny any, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates)
1171
MemberMapping
member = new MemberMapping();
1292
MemberMapping
choiceMember = ImportChoiceGroup(choice, identifier, null, null, null, ns, true, ref needExplicitOrder, false);
1419
MemberMapping
member = new MemberMapping();
1467
MemberMapping
member = new MemberMapping();
1498
MemberMapping
member = new MemberMapping();
1554
xmlnsMapping.Members = Array.Empty<
MemberMapping
>();
1561
MemberMapping
member = new MemberMapping();
System\Xml\Serialization\XmlSerializationReader.cs (23)
2081
private readonly
MemberMapping
_mapping;
2090
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string arrayName, int i,
MemberMapping
mapping)
2094
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string arrayName, int i,
MemberMapping
mapping, string? choiceSource)
2098
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string arraySource, string arrayName, int i,
MemberMapping
mapping)
2102
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string? arraySource, string arrayName, int i,
MemberMapping
mapping, string? choiceSource)
2106
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string? arrayName, int i,
MemberMapping
mapping, bool multiRef)
2110
internal Member(XmlSerializationReaderCodeGen outerClass, string source, string? arraySource, string? arrayName, int i,
MemberMapping
mapping, bool multiRef, string? choiceSource)
2151
internal
MemberMapping
Mapping
2444
private static string? GetChoiceIdentifierSource(
MemberMapping
[] mappings,
MemberMapping
member)
2466
private string GetChoiceIdentifierSource(
MemberMapping
mapping, string parent, TypeDesc parentTypeDesc)
2476
MemberMapping
[] mappings = ((MembersMapping)element.Mapping!).Members!;
2508
MemberMapping
mapping = mappings[i];
2627
private void InitializeValueTypes(string arrayName,
MemberMapping
[] mappings)
2654
MemberMapping
[] mappings = membersMapping.Members!;
2688
MemberMapping
mapping = mappings[i];
2796
MemberMapping
member = new MemberMapping();
3125
MemberMapping
memberMapping = new MemberMapping();
3302
MemberMapping
[] mappings = TypeScope.GetSettableMembers(structMapping);
3315
MemberMapping
mapping = mappings[i];
3451
MemberMapping
[] mappings = TypeScope.GetSettableMembers(structMapping);
3455
MemberMapping
mapping = mappings[i];
4560
MemberMapping
memberMapping = new MemberMapping();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (19)
44
private readonly
MemberMapping
_mapping;
52
internal Member(string source, string? arrayName, int i,
MemberMapping
mapping)
56
internal Member(string source, string? arrayName, int i,
MemberMapping
mapping, string? choiceSource)
60
internal Member(string source, string? arraySource, string? arrayName, int i,
MemberMapping
mapping)
64
internal Member(string source, string? arraySource, string? arrayName, int i,
MemberMapping
mapping, string? choiceSource)
68
internal Member(string source, string? arrayName, int i,
MemberMapping
mapping, bool multiRef)
72
internal Member(string source, string? arraySource, string? arrayName, int i,
MemberMapping
mapping, bool multiRef, string? choiceSource)
112
internal
MemberMapping
Mapping
354
private static string GetChoiceIdentifierSource(
MemberMapping
[] mappings,
MemberMapping
member)
376
private static string GetChoiceIdentifierSource(
MemberMapping
mapping, string parent)
386
MemberMapping
[] mappings = ((MembersMapping)element.Mapping!).Members!;
435
MemberMapping
mapping = mappings[i];
612
private void InitializeValueTypes(string arrayName,
MemberMapping
[] mappings)
643
MemberMapping
member = new MemberMapping();
1245
MemberMapping
memberMapping = new MemberMapping();
1526
MemberMapping
[] mappings = TypeScope.GetSettableMembers(structMapping, memberInfos);
1539
MemberMapping
mapping = mappings[i];
2859
MemberMapping
memberMapping = new MemberMapping();
System\Xml\Serialization\XmlSerializationWriter.cs (8)
1702
MemberMapping
member = structMapping.Members[i];
2648
MemberMapping
member = mapping.Members[i];
2702
MemberMapping
member = mapping.Members[i];
3149
MemberMapping
[] members = TypeScope.GetAllMembers(mapping);
3153
MemberMapping
member = members[xmlnsMember];
3186
MemberMapping
m = members[i];
3225
MemberMapping
m = members[i];
4390
private static int FindXmlnsIndex(
MemberMapping
[] members)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
407
MemberMapping
member = mapping.Members[i];
462
MemberMapping
member = mapping.Members[i];
1022
MemberMapping
[] members = TypeScope.GetAllMembers(mapping, memberInfos);
1026
MemberMapping
member = members[xmlnsMember];
1070
MemberMapping
m = members[i];
1101
MemberMapping
m = members[i];
2204
private static int FindXmlnsIndex(
MemberMapping
[] members)
2331
internal static SourceInfo GetSourceForMember(string obj,
MemberMapping
member, CodeGenerator ilg)
2335
internal static SourceInfo GetSourceForMember(string obj,
MemberMapping
member, MemberInfo? memberInfo, CodeGenerator ilg)