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