21 references to XmlElements
System.Private.Xml (21)
System\Xml\Serialization\XmlReflectionImporter.cs (21)
1372
a.
XmlElements
.Add(xmlElement);
1637
if (a.XmlText == null && a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1638
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1640
for (int i = 0; i < a.
XmlElements
.Count; i++)
1642
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1649
if (a.
XmlElements
.Count == 1)
1776
if (a.
XmlElements
.Count > 0) throw new InvalidOperationException(SR.XmlIllegalAttribute);
1809
else if (a.
XmlElements
.Count == 0)
1811
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1814
for (int i = 0; i < a.
XmlElements
.Count; i++)
1816
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1880
if (a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1881
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1882
for (int i = 0; i < a.
XmlElements
.Count; i++)
1884
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1891
if (a.
XmlElements
.Count == 1)
2054
if (a.
XmlElements
!= null && a.
XmlElements
.Count > 0)
2056
if (a.
XmlElements
.Count > 1)
2060
XmlElementAttribute xmlElement = a.
XmlElements
[0]!;
2080
XmlElementAttributes elements = a.
XmlElements
;