17 references to CastToUInt32
System.Runtime.Numerics (17)
src\runtime\src\libraries\Common\src\System\Number.Parsing.Common.cs (13)
60uint ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 100ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 184ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 196ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 202ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 221ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 228ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 239ch = TChar.CastToUInt32(value[index]); 288ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 363if ((nextIndex < 0) && info.AllowHyphenDuringParsing() && ((uint)index < (uint)value.Length) && (TChar.CastToUInt32(value[index]) == '-')) 378uint ch = TChar.CastToUInt32(value[index]); 454uint cp = TChar.CastToUInt32(source[index + i]); 455uint val = TChar.CastToUInt32(value[i]);
System\Number.BigInteger.cs (4)
176if (!IsWhite(TChar.CastToUInt32(value[index]))) 189while ((validLength < value.Length) && TParser.IsValidDigit(TChar.CastToUInt32(value[validLength]))) 201while ((trailingStart < value.Length) && IsWhite(TChar.CastToUInt32(value[trailingStart]))) 224nuint signBits = TParser.GetSignBitsIfValid(TChar.CastToUInt32(value[0]));