44 references to XmlAttributeFlags
System.Xml (44)
System\Xml\Serialization\XmlAttributes.cs (14)
58internal XmlAttributeFlags XmlFlags { 60XmlAttributeFlags flags = 0; 61if (xmlElements.Count > 0) flags |= XmlAttributeFlags.Elements; 62if (xmlArrayItems.Count > 0) flags |= XmlAttributeFlags.ArrayItems; 63if (xmlAnyElements.Count > 0) flags |= XmlAttributeFlags.AnyElements; 64if (xmlArray != null) flags |= XmlAttributeFlags.Array; 65if (xmlAttribute != null) flags |= XmlAttributeFlags.Attribute; 66if (xmlText != null) flags |= XmlAttributeFlags.Text; 67if (xmlEnum != null) flags |= XmlAttributeFlags.Enum; 68if (xmlRoot != null) flags |= XmlAttributeFlags.Root; 69if (xmlType != null) flags |= XmlAttributeFlags.Type; 70if (xmlAnyAttribute != null) flags |= XmlAttributeFlags.AnyAttribute; 71if (xmlChoiceIdentifier != null) flags |= XmlAttributeFlags.ChoiceIdentifier; 72if (xmlns) flags |= XmlAttributeFlags.XmlnsDeclarations;
System\Xml\Serialization\XmlReflectionImporter.cs (30)
367if ((a.XmlFlags & ~(XmlAttributeFlags.Type | XmlAttributeFlags.Root)) != 0) 403if ((a.XmlFlags & ~XmlAttributeFlags.Root) != 0) { 1076if ((a.XmlFlags & ~XmlAttributeFlags.Enum) != 0) 1332XmlAttributeFlags flags = a.XmlFlags; 1339XmlAttributeFlags elemFlags = XmlAttributeFlags.Elements | XmlAttributeFlags.Text | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier; 1340XmlAttributeFlags attrFlags = XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyAttribute; 1341XmlAttributeFlags arrayFlags = XmlAttributeFlags.Array | XmlAttributeFlags.ArrayItems; 1533XmlAttributeFlags allFlags = XmlAttributeFlags.Elements | XmlAttributeFlags.Text | XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier | XmlAttributeFlags.XmlnsDeclarations; 1612if (flags != XmlAttributeFlags.XmlnsDeclarations) 1778XmlAttributeFlags flags = a.XmlFlags; 1780if ((flags & (XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyAttribute)) != 0) 1783if ((flags & (XmlAttributeFlags.Text | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier)) != 0)