30 references to XmlElements
System.ServiceModel (6)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
1034
if (member.XmlAttributes.
XmlElements
== null || member.XmlAttributes.
XmlElements
.Count == 0)
1041
member.XmlAttributes.
XmlElements
.Add(elementAttribute);
1046
foreach (XmlElementAttribute elementAttribute in member.XmlAttributes.
XmlElements
)
1068
(xmlAttributes.
XmlElements
== null || xmlAttributes.
XmlElements
.Count == 0) &&
System.Web.Services (3)
System\Web\Services\Configuration\WebServicesSection.cs (2)
103
attrs.
XmlElements
.Add(attr);
213
xmlAttrs.
XmlElements
.Add(xmlAttr);
System\Web\Services\Protocols\SoapReflector.cs (1)
495
member.XmlAttributes.
XmlElements
.Add(attr);
System.Xml (21)
System\Xml\Serialization\XmlReflectionImporter.cs (21)
1188
a.
XmlElements
.Add(xmlElement);
1417
if (a.XmlText == null && a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1418
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1420
for (int i = 0; i < a.
XmlElements
.Count; i++) {
1421
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1428
if (a.
XmlElements
.Count == 1) {
1541
if (a.
XmlElements
.Count > 0) throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttribute));
1571
else if (a.
XmlElements
.Count == 0) {
1572
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1575
for (int i = 0; i < a.
XmlElements
.Count; i++) {
1576
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1630
if (a.
XmlElements
.Count == 0 && a.XmlAnyElements.Count == 0)
1631
a.
XmlElements
.Add(CreateElementAttribute(accessor.TypeDesc));
1632
for (int i = 0; i < a.
XmlElements
.Count; i++) {
1633
XmlElementAttribute xmlElement = a.
XmlElements
[i];
1640
if (a.
XmlElements
.Count == 1) {
1786
if (a.
XmlElements
!= null && a.
XmlElements
.Count > 0) {
1787
if (a.
XmlElements
.Count > 1) {
1790
XmlElementAttribute xmlElement = a.
XmlElements
[0];
1806
XmlElementAttributes elements = a.
XmlElements
;