5 writes to flags
System.Xml (5)
System\Xml\Dom\XmlName.cs (5)
227flags = (byte)((flags & ~ValidityMask) | (byte)(value)); 231if (value) flags = (byte)(flags | IsDefaultBit); 232else flags = (byte)(flags & ~IsDefaultBit); 236if (value) flags = (byte)(flags | IsNilBit); 237else flags = (byte)(flags & ~IsNilBit);
11 references to flags
System.Xml (11)
System\Xml\Dom\XmlName.cs (11)
186return ownerDoc.CanReportValidity ? (XmlSchemaValidity)(flags & ValidityMask) : XmlSchemaValidity.NotKnown; 192return (flags & IsDefaultBit) != 0; 198return (flags & IsNilBit) != 0; 227flags = (byte)((flags & ~ValidityMask) | (byte)(value)); 231if (value) flags = (byte)(flags | IsDefaultBit); 232else flags = (byte)(flags & ~IsDefaultBit); 236if (value) flags = (byte)(flags | IsNilBit); 237else flags = (byte)(flags & ~IsNilBit); 242&& schemaInfo.Validity == (XmlSchemaValidity)(flags & ValidityMask) 243&& schemaInfo.IsDefault == ((flags & IsDefaultBit) != 0) 244&& schemaInfo.IsNil == ((flags & IsNilBit) != 0)