12 references to XmlAnyElements
System.ServiceModel (3)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
335foreach (XmlAnyElementAttribute anyElement in xmlAttributes.XmlAnyElements) 1062(xmlAttributes.XmlAnyElements == null || xmlAttributes.XmlAnyElements.Count == 0) &&
System.Web.Services (1)
System\Web\Services\Configuration\WebServicesSection.cs (1)
232xmlAttrs.XmlAnyElements.Add(new XmlAnyElementAttribute());
System.Xml (8)
System\Xml\Serialization\XmlReflectionImporter.cs (8)
1417if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1456for (int i = 0; i < a.XmlAnyElements.Count; i++) { 1457XmlAnyElementAttribute xmlAnyElement = a.XmlAnyElements[i]; 1538if (a.XmlAnyElements.Count > 0) throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAnyElement, accessor.TypeDesc.FullName)); 1630if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0) 1667for (int i = 0; i < a.XmlAnyElements.Count; i++) 1669XmlAnyElementAttribute xmlAnyElement = a.XmlAnyElements[i]; 1819if (choiceTypes.Contains(typeof(XmlElement)) && a.XmlAnyElements.Count > 0) {