44 references to XmlAttributeFlags
System.Private.Xml (44)
System\Xml\Serialization\XmlAttributes.cs (14)
53internal XmlAttributeFlags XmlFlags 57XmlAttributeFlags flags = 0; 58if (_xmlElements.Count > 0) flags |= XmlAttributeFlags.Elements; 59if (_xmlArrayItems.Count > 0) flags |= XmlAttributeFlags.ArrayItems; 60if (_xmlAnyElements.Count > 0) flags |= XmlAttributeFlags.AnyElements; 61if (_xmlArray != null) flags |= XmlAttributeFlags.Array; 62if (_xmlAttribute != null) flags |= XmlAttributeFlags.Attribute; 63if (_xmlText != null) flags |= XmlAttributeFlags.Text; 64if (_xmlEnum != null) flags |= XmlAttributeFlags.Enum; 65if (_xmlRoot != null) flags |= XmlAttributeFlags.Root; 66if (_xmlType != null) flags |= XmlAttributeFlags.Type; 67if (_xmlAnyAttribute != null) flags |= XmlAttributeFlags.AnyAttribute; 68if (_xmlChoiceIdentifier != null) flags |= XmlAttributeFlags.ChoiceIdentifier; 69if (_xmlns) flags |= XmlAttributeFlags.XmlnsDeclarations;
System\Xml\Serialization\XmlReflectionImporter.cs (30)
422if ((a.XmlFlags & ~(XmlAttributeFlags.Type | XmlAttributeFlags.Root)) != 0) 462if ((a.XmlFlags & ~XmlAttributeFlags.Root) != 0) 1234if ((a.XmlFlags & ~XmlAttributeFlags.Enum) != 0) 1544XmlAttributeFlags flags = a.XmlFlags; 1551XmlAttributeFlags elemFlags = XmlAttributeFlags.Elements | XmlAttributeFlags.Text | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier; 1552XmlAttributeFlags attrFlags = XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyAttribute; 1553XmlAttributeFlags arrayFlags = XmlAttributeFlags.Array | XmlAttributeFlags.ArrayItems; 1766XmlAttributeFlags allFlags = XmlAttributeFlags.Elements | XmlAttributeFlags.Text | XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier | XmlAttributeFlags.XmlnsDeclarations; 1857if (flags != XmlAttributeFlags.XmlnsDeclarations) 2046XmlAttributeFlags flags = a.XmlFlags; 2048if ((flags & (XmlAttributeFlags.Attribute | XmlAttributeFlags.AnyAttribute)) != 0) 2051if ((flags & (XmlAttributeFlags.Text | XmlAttributeFlags.AnyElements | XmlAttributeFlags.ChoiceIdentifier)) != 0)