private static bool IsASCIILetterOrDigit(char character, ref bool notCanonical) { return IsASCIILetter(character, ref notCanonical) || (character >= '0' && character <= '9'); } //