7 writes to Elements
System.Xml (7)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
413mapping.Elements = new ElementAccessor[] {
System\Xml\Serialization\SoapSchemaImporter.cs (3)
411arrayMapping.Elements = new ElementAccessor[] { itemAccessor }; 464arrayMapping.Elements = new ElementAccessor[] { itemAccessor }; 481arrayMapping.Elements = new ElementAccessor[] { itemAccessor };
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1315arrayMapping.Elements = (ElementAccessor[])arrayItemElements.ToArray(typeof(ElementAccessor));
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1213arrayMapping.Elements = choiceMember.Elements; 1228arrayMapping.Elements = new ElementAccessor[] { itemAccessor };
32 references to Elements
System.Xml (32)
System\Xml\Serialization\CodeExporter.cs (6)
186EnsureTypesExported(arrayMapping.Elements, arrayMapping.Namespace); 198if (arrayMapping.Elements.Length == 1) { 199TypeKind kind = arrayMapping.Elements[0].Mapping.TypeDesc.Kind; 204for (int i = 0; i < arrayMapping.Elements.Length; i++) { 205if (arrayMapping.Elements[i].Name != arrayMapping.Elements[i].Mapping.DefaultElementName) {
System\Xml\Serialization\Mappings.cs (3)
703if (arrayMapping.Elements != null && arrayMapping.Elements.Length == 1) { 704return IsNeedNullableMember(arrayMapping.Elements[0]);
System\Xml\Serialization\SoapCodeExporter.cs (1)
99EnsureTypesExported(((ArrayMapping)mapping).Elements, null);
System\Xml\Serialization\SoapReflectionImporter.cs (4)
446if (mapping.Elements.Length == 1) 447itemTypeMapping = mapping.Elements[0].Mapping; 487if (AccessorMapping.ElementsMatch(arrayMapping.Elements, mapping.Elements)) {
System\Xml\Serialization\SoapSchemaExporter.cs (1)
212XmlQualifiedName qname = ExportTypeMapping(mapping.Elements[0].Mapping, mapping.Namespace);
System\Xml\Serialization\XmlCodeExporter.cs (3)
134EnsureTypesExported(((ArrayMapping)mapping).Elements, ns); 597for (int i = 0; i < array.Elements.Length; i++) { 598ElementAccessor arrayElement = array.Elements[i];
System\Xml\Serialization\XmlReflectionImporter.cs (7)
887if (mapping.Elements.Length == 1) { 888element = mapping.Elements[0]; 938if (AccessorMapping.ElementsMatch(arrayMapping.Elements, mapping.Elements)) { 963for (int i = 0; i < mapping.Elements.Length; i++) { 964mapping.Elements[i] = ReconcileLocalAccessor(mapping.Elements[i], mapping.Namespace);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
562ExportElementAccessors(seq, mapping.Elements, true, false, mapping.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
861if (arrayMapping.Elements.Length != 1) 864ElementAccessor item = arrayMapping.Elements[0];
System\Xml\Serialization\XmlSerializationReader.cs (2)
2926memberMapping.Elements = mapping.Elements; 4193memberMapping.Elements = arrayMapping.Elements;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
1279memberMapping.Elements = mapping.Elements; 2877memberMapping.Elements = arrayMapping.Elements;