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