14 implementations of MaxValue
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
494
static byte IMinMaxValue<byte>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1397
static char IMinMaxValue<char>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1251
static decimal IMinMaxValue<decimal>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
913
static double IMinMaxValue<double>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
588
static short IMinMaxValue<short>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
629
static int IMinMaxValue<int>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
626
static long IMinMaxValue<long>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
621
static nint IMinMaxValue<nint>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
551
static sbyte IMinMaxValue<sbyte>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
910
static float IMinMaxValue<float>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
513
static ushort IMinMaxValue<ushort>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
552
static uint IMinMaxValue<uint>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
551
static ulong IMinMaxValue<ulong>.
MaxValue
=> MaxValue;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
554
static nuint IMinMaxValue<nuint>.
MaxValue
=> MaxValue;
33 references to MaxValue
System.Private.CoreLib (21)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
493
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1396
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1250
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
912
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
100
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1129
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
587
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
628
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
625
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
168
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
620
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (1)
429
overflow |= TInteger.IsGreaterThanAsUnsigned(answer, TInteger.
MaxValue
+ (isNegative ? TInteger.One : TInteger.Zero));
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
550
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (1)
247
T min = T.
MaxValue
;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
909
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1322
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
512
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
551
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
550
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (2)
164
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
553
/// <inheritdoc cref="IMinMaxValue{TSelf}.
MaxValue
" />
System.Private.Windows.Core.TestUtilities (8)
XUnit\TestData.cs (8)
40
T.
MaxValue
,
44
T.
MaxValue
/ (T.One + T.One),
60
T.
MaxValue
,
62
T.
MaxValue
/ (T.One + T.One)
67
T.
MaxValue
,
71
T.
MaxValue
/ (T.One + T.One)
80
T.Zero, T.
MaxValue
, T.One, T.
MaxValue
/ (T.One + T.One)
System.Threading.Tasks.Parallel (4)
System\Threading\Tasks\ParallelLoopState.cs (2)
354
internal TInt _lowestBreakIteration = TInt.
MaxValue
;
376
return lowestBreakIteration == TInt.
MaxValue
? null : long.CreateTruncating(lowestBreakIteration);
System\Threading\Tasks\ParallelRangeManager.cs (2)
183
fromInclusiveInt64 <= long.CreateTruncating(TInt.
MaxValue
) && fromInclusiveInt64 >= long.CreateTruncating(TInt.MinValue) &&
184
toExclusiveInt64 <= long.CreateTruncating(TInt.
MaxValue
) && toExclusiveInt64 >= long.CreateTruncating(TInt.MinValue));