11 implementations of MaxValueDiv10
System.Private.CoreLib (11)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1225static byte IBinaryIntegerParseAndFormatInfo<byte>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
2094static char IBinaryIntegerParseAndFormatInfo<char>.MaxValueDiv10 => (char)(MaxValue / 10);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2144static Int128 IBinaryIntegerParseAndFormatInfo<Int128>.MaxValueDiv10 => new Int128(0x0CCC_CCCC_CCCC_CCCC, 0xCCCC_CCCC_CCCC_CCCC);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1419static short IBinaryIntegerParseAndFormatInfo<short>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1470static int IBinaryIntegerParseAndFormatInfo<int>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1473static long IBinaryIntegerParseAndFormatInfo<long>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1398static sbyte IBinaryIntegerParseAndFormatInfo<sbyte>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
2222static UInt128 IBinaryIntegerParseAndFormatInfo<UInt128>.MaxValueDiv10 => new UInt128(0x1999_9999_9999_9999, 0x9999_9999_9999_9999);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
1218static ushort IBinaryIntegerParseAndFormatInfo<ushort>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
1289static uint IBinaryIntegerParseAndFormatInfo<uint>.MaxValueDiv10 => MaxValue / 10;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
1290static ulong IBinaryIntegerParseAndFormatInfo<ulong>.MaxValueDiv10 => MaxValue / 10;
4 references to MaxValueDiv10
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (4)
212if (TInteger.IsGreaterThanAsUnsigned(n, TInteger.MaxValueDiv10)) 496overflow |= (answer > TInteger.MaxValueDiv10) || ((answer == TInteger.MaxValueDiv10) && (num > '5')); 500overflow = answer > TInteger.MaxValueDiv10;