2 implementations of CastToUInt32
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1197static uint IUtfChar<byte>.CastToUInt32(byte value) => value;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1989static uint IUtfChar<char>.CastToUInt32(char value) => value;
15 references to CastToUInt32
System.Private.CoreLib (15)
src\libraries\Common\src\System\Number.Parsing.Common.cs (15)
58uint ch = (p < strEnd) ? TChar.CastToUInt32(*p) : '\0'; 90ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 164ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 175ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 178ch = (p = next) < strEnd ? TChar.CastToUInt32(*p) : '\0'; 182ch = (p = next) < strEnd ? TChar.CastToUInt32(*p) : '\0'; 200ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 206ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 217ch = p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 257ch = ++p < strEnd ? TChar.CastToUInt32(*p) : '\0'; 328if ((ret is null) && info.AllowHyphenDuringParsing() && (p < pEnd) && (TChar.CastToUInt32(*p) == '-')) 345if (TChar.CastToUInt32(*str) != '\0') 352uint cp = (p < pEnd) ? TChar.CastToUInt32(*p) : '\0'; 353uint val = TChar.CastToUInt32(*str); 363if (TChar.CastToUInt32(*str) == '\0')