27 references to XmlElements
System.Private.Xml (21)
System\Xml\Serialization\XmlReflectionImporter.cs (21)
1377a.XmlElements.Add(xmlElement); 1642if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1643a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1645for (int i = 0; i < a.XmlElements.Count; i++) 1647XmlElementAttribute xmlElement = a.XmlElements[i]!; 1654if (a.XmlElements.Count == 1) 1781if (a.XmlElements.Count > 0) throw new InvalidOperationException(SR.XmlIllegalAttribute); 1814else if (a.XmlElements.Count == 0) 1816a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1819for (int i = 0; i < a.XmlElements.Count; i++) 1821XmlElementAttribute xmlElement = a.XmlElements[i]!; 1885if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1886a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1887for (int i = 0; i < a.XmlElements.Count; i++) 1889XmlElementAttribute xmlElement = a.XmlElements[i]!; 1896if (a.XmlElements.Count == 1) 2059if (a.XmlElements != null && a.XmlElements.Count > 0) 2061if (a.XmlElements.Count > 1) 2065XmlElementAttribute xmlElement = a.XmlElements[0]!; 2085XmlElementAttributes elements = a.XmlElements;
System.ServiceModel.Primitives (6)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
1198if (member.XmlAttributes.XmlElements == null || member.XmlAttributes.XmlElements.Count == 0) 1205member.XmlAttributes.XmlElements.Add(elementAttribute); 1210foreach (XmlElementAttribute elementAttribute in member.XmlAttributes.XmlElements) 1238(xmlAttributes.XmlElements == null || xmlAttributes.XmlElements.Count == 0) &&