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