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'; 99ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 183ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 195ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 201ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 206ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 226ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 233ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 244ch = TChar.CastToUInt32(value[index]); 292ch = index < value.Length ? TChar.CastToUInt32(value[index]) : '\0'; 367if ((nextIndex < 0) && info.AllowHyphenDuringParsing() && ((uint)index < (uint)value.Length) && (TChar.CastToUInt32(value[index]) == '-')) 399uint cp = TChar.CastToUInt32(source[index + i]); 400uint 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]));