private static int AtoI(char c) { if (c >= '0' && c <= '9') return c - '0'; throw new CryptographicException(SR.Argument_InvalidOidValue); }