private static bool IsNodeTypeUnion(XmlNodeKindFlags xmlTypes) { return ((int) xmlTypes & ((int) xmlTypes - 1)) != 0; }