28 references to XmlElements
System.Private.Xml (22)
System\Xml\Serialization\XmlReflectionImporter.cs (22)
1378a.XmlElements.Add(xmlElement); 1651&& a.XmlElements.Count == 0 1657if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1658a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1660for (int i = 0; i < a.XmlElements.Count; i++) 1662XmlElementAttribute xmlElement = a.XmlElements[i]!; 1669if (a.XmlElements.Count == 1) 1796if (a.XmlElements.Count > 0) throw new InvalidOperationException(SR.XmlIllegalAttribute); 1829else if (a.XmlElements.Count == 0) 1831a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1834for (int i = 0; i < a.XmlElements.Count; i++) 1836XmlElementAttribute xmlElement = a.XmlElements[i]!; 1900if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1901a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1902for (int i = 0; i < a.XmlElements.Count; i++) 1904XmlElementAttribute xmlElement = a.XmlElements[i]!; 1911if (a.XmlElements.Count == 1) 2074if (a.XmlElements != null && a.XmlElements.Count > 0) 2076if (a.XmlElements.Count > 1) 2080XmlElementAttribute xmlElement = a.XmlElements[0]!; 2100XmlElementAttributes 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) &&