public static bool IsName(string str) { if (str == null) { throw new NullReferenceException(); } return ValidateNames.IsNameNoNamespaces(str); }