4 writes to Members
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
633
members.
Members
= mappings;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1319
members.
Members
= mappings;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
216
mapping.
Members
= members;
489
mappings.
Members
= members;
57 references to Members
System.Private.Xml (57)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
93
MemberMapping[] mappings = ((MembersMapping)element.Mapping!).
Members
!;
312
MemberMapping[] mappings = membersMapping.
Members
!;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (13)
1201
int xmlnsMember = FindXmlnsIndex(mapping.
Members
!);
1212
for (int i = 0; i < mapping.
Members
!.Length; i++)
1214
MemberMapping member = mapping.
Members
[i];
1222
for (int j = 0; j < Math.Min(pLength, mapping.
Members
.Length); j++)
1224
if (mapping.
Members
[j].Name == memberNameSpecified)
1240
for (int i = 0; i < mapping.
Members
!.Length; i++)
1242
MemberMapping member = mapping.
Members
[i];
1253
for (int j = 0; j < Math.Min(pLength, mapping.
Members
.Length); j++)
1255
if (mapping.
Members
[j].Name == memberNameSpecified)
1272
for (int j = 0; j < mapping.
Members
.Length; j++)
1274
if (mapping.
Members
[j].Name == member.ChoiceIdentifier.MemberName)
1303
if (pLength > mapping.
Members
.Length)
1305
for (int i = mapping.
Members
.Length; i < pLength; i++)
System\Xml\Serialization\XmlMembersMapping.cs (4)
23
_mappings = new XmlMemberMapping[mapping.
Members
!.Length];
26
if (mapping.
Members
[i].TypeDesc!.Type != null)
28
key.Append(GenerateKey(mapping.
Members
[i].TypeDesc!.Type!, null, null));
31
_mappings[i] = new XmlMemberMapping(mapping.
Members
[i]);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
234
foreach (MemberMapping mapping in membersMapping.
Members
!)
System\Xml\Serialization\XmlSchemaExporter.cs (5)
45
if (mapping.
Members
!.Length == 1 && mapping.
Members
[0].Elements![0].Mapping is SpecialMapping)
47
SpecialMapping special = (SpecialMapping)mapping.
Members
[0].Elements![0].Mapping!;
76
foreach (MemberMapping member in mapping.
Members
!)
544
ExportTypeMembers(type, mapping.
Members
!, mapping.TypeName!, ns, false, false);
System\Xml\Serialization\XmlSchemaImporter.cs (3)
163
if (mapping.
Members
!.Length != 1 || !mapping.
Members
[0].Accessor!.Any)
165
mapping.
Members
[0].Name = elementName;
System\Xml\Serialization\XmlSerializationReader.cs (2)
2476
MemberMapping[] mappings = ((MembersMapping)element.Mapping!).
Members
!;
2654
MemberMapping[] mappings = membersMapping.
Members
!;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
386
MemberMapping[] mappings = ((MembersMapping)element.Mapping!).
Members
!;
System\Xml\Serialization\XmlSerializationWriter.cs (14)
2632
int xmlnsMember = FindXmlnsIndex(mapping.
Members
!);
2646
for (int i = 0; i < mapping.
Members
!.Length; i++)
2648
MemberMapping member = mapping.
Members
[i];
2660
for (int j = 0; j < mapping.
Members
.Length; j++)
2662
if (mapping.
Members
[j].Name == memberNameSpecified)
2700
for (int i = 0; i < mapping.
Members
!.Length; i++)
2702
MemberMapping member = mapping.
Members
[i];
2714
for (int j = 0; j < mapping.
Members
.Length; j++)
2716
if (mapping.
Members
[j].Name == memberNameSpecified)
2745
for (int j = 0; j < mapping.
Members
.Length; j++)
2747
if (mapping.
Members
[j].Name == member.ChoiceIdentifier.MemberName)
2752
enumSource = $"(({mapping.
Members
[j].TypeDesc!.CSharpName })p[{j}])";
2795
Writer.Write(mapping.
Members
.Length.ToString(CultureInfo.InvariantCulture));
2799
WriteExtraMembers(mapping.
Members
.Length.ToString(CultureInfo.InvariantCulture), "pLength");
System\Xml\Serialization\XmlSerializationWriterILGen.cs (12)
393
int xmlnsMember = FindXmlnsIndex(mapping.
Members
!);
405
for (int i = 0; i < mapping.
Members
!.Length; i++)
407
MemberMapping member = mapping.
Members
[i];
418
for (int j = 0; j < mapping.
Members
.Length; j++)
420
if (mapping.
Members
[j].Name == memberNameSpecified)
460
for (int i = 0; i < mapping.
Members
!.Length; i++)
462
MemberMapping member = mapping.
Members
[i];
474
for (int j = 0; j < mapping.
Members
.Length; j++)
476
if (mapping.
Members
[j].Name == memberNameSpecified)
508
for (int j = 0; j < mapping.
Members
.Length; j++)
510
if (mapping.
Members
[j].Name == member.ChoiceIdentifier.MemberName)
512
enumSource = $"(({mapping.
Members
[j].TypeDesc!.CSharpName})p[{j}])";