14 implementations of MaxValue
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
494static byte IMinMaxValue<byte>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1397static char IMinMaxValue<char>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1251static decimal IMinMaxValue<decimal>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
913static double IMinMaxValue<double>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
588static short IMinMaxValue<short>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
629static int IMinMaxValue<int>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
626static long IMinMaxValue<long>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
621static nint IMinMaxValue<nint>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
551static sbyte IMinMaxValue<sbyte>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
910static float IMinMaxValue<float>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
513static ushort IMinMaxValue<ushort>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
552static uint IMinMaxValue<uint>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
551static ulong IMinMaxValue<ulong>.MaxValue => MaxValue;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
554static 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)
429overflow |= 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)
247T 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)
40T.MaxValue, 44T.MaxValue / (T.One + T.One), 60T.MaxValue, 62T.MaxValue / (T.One + T.One) 67T.MaxValue, 71T.MaxValue / (T.One + T.One) 80T.Zero, T.MaxValue, T.One, T.MaxValue / (T.One + T.One)
System.Threading.Tasks.Parallel (4)
System\Threading\Tasks\ParallelLoopState.cs (2)
354internal TInt _lowestBreakIteration = TInt.MaxValue; 376return lowestBreakIteration == TInt.MaxValue ? null : long.CreateTruncating(lowestBreakIteration);
System\Threading\Tasks\ParallelRangeManager.cs (2)
183fromInclusiveInt64 <= long.CreateTruncating(TInt.MaxValue) && fromInclusiveInt64 >= long.CreateTruncating(TInt.MinValue) && 184toExclusiveInt64 <= long.CreateTruncating(TInt.MaxValue) && toExclusiveInt64 >= long.CreateTruncating(TInt.MinValue));