public static double GetNumericValue(string s, int index) { if (s == null) { throw new ArgumentNullException(nameof(s)); } if (((uint)index) >= ((uint)s.Length)) { throw new ArgumentOutOfRangeException(nameof(index)); } return(CharUnicodeInfo.GetNumericValueInternal(s, index)); }
public static double GetNumericValue(string s, int index) { if (s == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } if (((uint)index) >= ((uint)s.Length)) { ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); } return(CharUnicodeInfo.GetNumericValueInternal(s, index)); }