internal static bool IsText(XPathNodeType type) { //return ((1 << (int) type) & TextMask) != 0; return (uint)(type - XPathNodeType.Text) <= (XPathNodeType.Whitespace - XPathNodeType.Text); }