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