10 references to XmlAnyElements
System.Private.Xml (8)
System\Xml\Serialization\XmlReflectionImporter.cs (8)
1642if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1686for (int i = 0; i < a.XmlAnyElements.Count; i++) 1688XmlAnyElementAttribute xmlAnyElement = a.XmlAnyElements[i]!; 1777if (a.XmlAnyElements.Count > 0) throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessor.TypeDesc.FullName)); 1885if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1927for (int i = 0; i < a.XmlAnyElements.Count; i++) 1929XmlAnyElementAttribute xmlAnyElement = a.XmlAnyElements[i]!; 2102if (choiceTypes.Contains(typeof(XmlElement)) && a.XmlAnyElements.Count > 0)
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
1232(xmlAttributes.XmlAnyElements == null || xmlAttributes.XmlAnyElements.Count == 0) &&