21 references to XmlElements
System.Private.Xml (21)
System\Xml\Serialization\XmlReflectionImporter.cs (21)
1372a.XmlElements.Add(xmlElement); 1637if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1638a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1640for (int i = 0; i < a.XmlElements.Count; i++) 1642XmlElementAttribute xmlElement = a.XmlElements[i]!; 1649if (a.XmlElements.Count == 1) 1776if (a.XmlElements.Count > 0) throw new InvalidOperationException(SR.XmlIllegalAttribute); 1809else if (a.XmlElements.Count == 0) 1811a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1814for (int i = 0; i < a.XmlElements.Count; i++) 1816XmlElementAttribute xmlElement = a.XmlElements[i]!; 1880if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1881a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc)); 1882for (int i = 0; i < a.XmlElements.Count; i++) 1884XmlElementAttribute xmlElement = a.XmlElements[i]!; 1891if (a.XmlElements.Count == 1) 2054if (a.XmlElements != null && a.XmlElements.Count > 0) 2056if (a.XmlElements.Count > 1) 2060XmlElementAttribute xmlElement = a.XmlElements[0]!; 2080XmlElementAttributes elements = a.XmlElements;