28 references to XmlElements
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (21)
1365
a.
XmlElements
.Add(xmlElement);
1624
if (a.XmlText == null && a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1625
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1627
for (int i = 0; i < a.
XmlElements
.Count; i++)
1629
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1636
if (a.
XmlElements
.Count == 1)
1764
if (a.
XmlElements
.Count > 0) throw new InvalidOperationException(ResXml.XmlIllegalAttribute);
1798
else if (a.
XmlElements
.Count == 0)
1800
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1803
for (int i = 0; i < a.
XmlElements
.Count; i++)
1805
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1869
if (a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1870
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1871
for (int i = 0; i < a.
XmlElements
.Count; i++)
1873
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1880
if (a.
XmlElements
.Count == 1)
2043
if (a.
XmlElements
!= null && a.
XmlElements
.Count > 0)
2045
if (a.
XmlElements
.Count > 1)
2049
XmlElementAttribute xmlElement = a.
XmlElements
[0];
2069
XmlElementAttributes elements = a.
XmlElements
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
886
if (member.XmlAttributes.
XmlElements
== null || member.XmlAttributes.
XmlElements
.Count == 0)
893
member.XmlAttributes.
XmlElements
.Add(elementAttribute);
898
foreach (XmlElementAttribute elementAttribute in member.XmlAttributes.
XmlElements
)
920
(xmlAttributes.
XmlElements
== null || xmlAttributes.
XmlElements
.Count == 0) &&
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (1)
74
xmlAttrs.
XmlElements
.Add(xmlAttr);