public void SetValidity(XmlSchemaValidity value) { flags = (byte)((flags & ~ValidityMask) | (byte)(value)); }