2 writes to SequenceId
System.Xml (2)
System\Xml\Serialization\XmlCodeExporter.cs (1)
528
member.
SequenceId
= generatedSequence++;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1716
accessor.
SequenceId
= sequenceId;
19 references to SequenceId
System.Xml (19)
System\Xml\Serialization\Mappings.cs (8)
776
if (m1.
SequenceId
< 0 && m2.
SequenceId
< 0)
778
if (m1.
SequenceId
< 0)
780
if (m2.
SequenceId
< 0)
782
if (m1.
SequenceId
< m2.
SequenceId
)
784
if (m1.
SequenceId
> m2.
SequenceId
)
System\Xml\Serialization\XmlCodeExporter.cs (8)
527
if (member.IsParticle && member.
SequenceId
< 0)
657
ExportAnyElement(metadata, elemName, element.Namespace, member.
SequenceId
);
661
if (!sameName || !sameNs || element.IsNullable || !defaultForm || member.
SequenceId
!= -1)
662
ExportArray(metadata, sameName ? null : elemName, sameNs ? null : element.Namespace, element.IsNullable, defaultForm ? XmlSchemaForm.None : element.Form, member.
SequenceId
);
666
ExportArray(metadata, null, null, false, XmlSchemaForm.None, member.
SequenceId
);
675
ExportElement(metadata, sameName ? null : elemName, sameNs ? null : element.Namespace, sameType ? null : mapping.TypeDesc, mapping.TypeDesc, element.IsNullable, defaultForm ? XmlSchemaForm.None : element.Form, member.
SequenceId
);
685
ExportAnyElement(metadata, elemName, element.Namespace, member.
SequenceId
);
688
ExportElement(metadata, elemName, sameNs ? null : element.Namespace, ((TypeMapping)element.Mapping).TypeDesc, ((TypeMapping)element.Mapping).TypeDesc, element.IsNullable, defaultForm ? XmlSchemaForm.None : element.Form, member.
SequenceId
);
System\Xml\Serialization\XmlReflectionImporter.cs (3)
796
if (ids[member.
SequenceId
] != null) {
797
throw new InvalidOperationException(Res.GetString(Res.XmlSequenceUnique, member.
SequenceId
.ToString(CultureInfo.InvariantCulture), "Order", member.Name));
799
ids[member.
SequenceId
] = member;