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