11 implementations of MaxValueDiv10
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1209static byte IBinaryIntegerParseAndFormatInfo<byte>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
2034static char IBinaryIntegerParseAndFormatInfo<char>.MaxValueDiv10 => (char)(MaxValue / 10);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2133static Int128 IBinaryIntegerParseAndFormatInfo<Int128>.MaxValueDiv10 => new Int128(0x0CCC_CCCC_CCCC_CCCC, 0xCCCC_CCCC_CCCC_CCCC);
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1401static short IBinaryIntegerParseAndFormatInfo<short>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1467static int IBinaryIntegerParseAndFormatInfo<int>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1470static long IBinaryIntegerParseAndFormatInfo<long>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1364static sbyte IBinaryIntegerParseAndFormatInfo<sbyte>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
2168static UInt128 IBinaryIntegerParseAndFormatInfo<UInt128>.MaxValueDiv10 => new UInt128(0x1999_9999_9999_9999, 0x9999_9999_9999_9999);
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
1216static ushort IBinaryIntegerParseAndFormatInfo<ushort>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
1261static uint IBinaryIntegerParseAndFormatInfo<uint>.MaxValueDiv10 => MaxValue / 10;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
1254static ulong IBinaryIntegerParseAndFormatInfo<ulong>.MaxValueDiv10 => MaxValue / 10;
4 references to MaxValueDiv10
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (4)
135if (TInteger.IsGreaterThanAsUnsigned(n, TInteger.MaxValueDiv10)) 417overflow |= (answer > TInteger.MaxValueDiv10) || ((answer == TInteger.MaxValueDiv10) && (num > '5')); 421overflow = answer > TInteger.MaxValueDiv10;