22 references to XmlElements
System.Private.Xml (21)
System\Xml\Serialization\XmlReflectionImporter.cs (21)
1376
a.
XmlElements
.Add(xmlElement);
1641
if (a.XmlText == null && a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1642
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1644
for (int i = 0; i < a.
XmlElements
.Count; i++)
1646
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1653
if (a.
XmlElements
.Count == 1)
1780
if (a.
XmlElements
.Count > 0) throw new InvalidOperationException(SR.XmlIllegalAttribute);
1813
else if (a.
XmlElements
.Count == 0)
1815
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1818
for (int i = 0; i < a.
XmlElements
.Count; i++)
1820
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1884
if (a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1885
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1886
for (int i = 0; i < a.
XmlElements
.Count; i++)
1888
XmlElementAttribute xmlElement = a.
XmlElements
[i]!;
1895
if (a.
XmlElements
.Count == 1)
2058
if (a.
XmlElements
!= null && a.
XmlElements
.Count > 0)
2060
if (a.
XmlElements
.Count > 1)
2064
XmlElementAttribute xmlElement = a.
XmlElements
[0]!;
2084
XmlElementAttributes elements = a.
XmlElements
;
System.Web.Services.Description (1)
System\Web\Services\Configuration\WebServicesSection.cs (1)
71
xmlAttrs.
XmlElements
.Add(xmlAttr);