19 references to CastToUInt32
System.Runtime.Numerics (19)
src\runtime\src\libraries\Common\src\System\Number.Parsing.Common.cs (15)
60uint ch = (p < strEnd) ? TChar.CastToUInt32(*p) : '\0'; 92ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 166ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 177ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 180ch = (p = next) < strEnd ? TChar.CastToUInt32(*p) : '\0'; 184ch = (p = next) < strEnd ? TChar.CastToUInt32(*p) : '\0'; 202ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 208ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 219ch = p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 259ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 340if ((ret is null) && info.AllowHyphenDuringParsing() && (p < pEnd) && (TChar.CastToUInt32(*p) == '-')) 361if (TChar.CastToUInt32(*str) != '\0') 370uint cp = (p < pEnd) ? TChar.CastToUInt32(*p) : '\0'; 371uint val = TChar.CastToUInt32(*str); 381if (TChar.CastToUInt32(*str) == '\0')
System\Number.BigInteger.cs (4)
155if (!IsWhite(TChar.CastToUInt32(value[index]))) 168while ((validLength < value.Length) && TParser.IsValidDigit(TChar.CastToUInt32(value[validLength]))) 180while ((trailingStart < value.Length) && IsWhite(TChar.CastToUInt32(value[trailingStart]))) 203nuint signBits = TParser.GetSignBitsIfValid(TChar.CastToUInt32(value[0]));