2 interfaces inheriting from IMinMaxValue
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (2)
29internal interface IBinaryIntegerParseAndFormatInfo<TSelf> : IBinaryInteger<TSelf>, IMinMaxValue<TSelf> 49internal interface IBinaryFloatParseAndFormatInfo<TSelf> : IBinaryFloatingPointIeee754<TSelf>, IMinMaxValue<TSelf>
22 implementations of IMinMaxValue
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
23IMinMaxValue<byte>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
29IMinMaxValue<char>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
71IMinMaxValue<decimal>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
30IMinMaxValue<double>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
29IMinMaxValue<Half>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
19IMinMaxValue<Int128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
25IMinMaxValue<short>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
25IMinMaxValue<int>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
25IMinMaxValue<long>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
34IMinMaxValue<nint>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
21IMinMaxValue<BFloat16>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
26IMinMaxValue<Decimal128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
26IMinMaxValue<Decimal32>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
26IMinMaxValue<Decimal64>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
29IMinMaxValue<NFloat>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
25IMinMaxValue<sbyte>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
28IMinMaxValue<float>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
21IMinMaxValue<UInt128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
25IMinMaxValue<ushort>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
25IMinMaxValue<uint>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
25IMinMaxValue<ulong>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
34IMinMaxValue<nuint>,
113 references to IMinMaxValue
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
508private static bool TryRead<T>(ulong address, bool isLittleEndian, DataTargetDelegates dataTargetDelegates, out T value) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 547private static bool TryWrite<T>(ulong address, bool isLittleEndian, DataTargetDelegates dataTargetDelegates, T value) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 560private static T Read<T>(ReadOnlySpan<byte> bytes, bool isLittleEndian) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 611private static bool IsSigned<T>() where T : struct, INumberBase<T>, IMinMaxValue<T>
Microsoft.Diagnostics.DataContractReader.Abstractions (8)
Target.cs (4)
195public abstract T Read<T>(ulong address) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T>; 203public abstract T ReadLittleEndian<T>(ulong address) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T>; 211public abstract bool TryRead<T>(ulong address, out T value) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T>; 219public abstract void Write<T>(ulong address, T value) where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T>;
TargetFieldExtensions.cs (4)
21where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 34where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 164where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T> 205where T : unmanaged, IBinaryInteger<T>, IMinMaxValue<T>
System.Linq (1)
System\Linq\Sum.cs (1)
80where T : struct, IBinaryInteger<T>, ISignedNumber<T>, IMinMaxValue<T>
System.Private.CoreLib (84)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
485/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 486static byte IMinMaxValue<byte>.MinValue => MinValue; 488/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 489static byte IMinMaxValue<byte>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
1447/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 1448static char IMinMaxValue<char>.MinValue => MinValue; 1450/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 1451static char IMinMaxValue<char>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (4)
1218/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 1219static decimal IMinMaxValue<decimal>.MinValue => MinValue; 1221/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 1222static decimal IMinMaxValue<decimal>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
927/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 928static double IMinMaxValue<double>.MinValue => MinValue; 930/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 931static double IMinMaxValue<double>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (10)
974where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 975where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1482where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1483where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> => 1495where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1496where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1858where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1859where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1893where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1894where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
100/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 103/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
1110/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 1113/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
572/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 573static short IMinMaxValue<short>.MinValue => MinValue; 575/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 576static short IMinMaxValue<short>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
614/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 615static int IMinMaxValue<int>.MinValue => MinValue; 617/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 618static int IMinMaxValue<int>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
611/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 612static long IMinMaxValue<long>.MinValue => MinValue; 614/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 615static long IMinMaxValue<long>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (6)
172/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 179/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 634/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 635static nint IMinMaxValue<nint>.MinValue => MinValue; 637/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 638static nint IMinMaxValue<nint>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (4)
1628where TValue : unmanaged, IBinaryInteger<TValue>, IMinMaxValue<TValue> 1737where TValue : unmanaged, IBinaryInteger<TValue>, IMinMaxValue<TValue> 1854where TValue : unmanaged, IBinaryInteger<TValue>, IMinMaxValue<TValue> 3512where TInteger : IBinaryInteger<TInteger>, IMinMaxValue<TInteger>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
92/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 95/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IMinMaxValue.cs (1)
9where TSelf : IMinMaxValue<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
195public T NextInteger<T>() where T : IBinaryInteger<T>, IMinMaxValue<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
551/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 552static sbyte IMinMaxValue<sbyte>.MinValue => MinValue; 554/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 555static sbyte IMinMaxValue<sbyte>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (4)
922/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 923static float IMinMaxValue<float>.MinValue => MinValue; 925/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 926static float IMinMaxValue<float>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
1350/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 1353/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
490/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 491static ushort IMinMaxValue<ushort>.MinValue => MinValue; 493/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 494static ushort IMinMaxValue<ushort>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
555/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 556static uint IMinMaxValue<uint>.MinValue => MinValue; 558/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 559static uint IMinMaxValue<uint>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
562/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 563static ulong IMinMaxValue<ulong>.MinValue => MinValue; 565/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 566static ulong IMinMaxValue<ulong>.MaxValue => MaxValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (6)
168/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 175/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 561/// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" /> 562static nuint IMinMaxValue<nuint>.MinValue => MinValue; 564/// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" /> 565static nuint IMinMaxValue<nuint>.MaxValue => MaxValue;
System.Private.Windows.Core.TestUtilities (9)
XUnit\FloatingPointDataAttribute.cs (1)
13where TNumber : struct, IBinaryFloatingPointIeee754<TNumber>, IMinMaxValue<TNumber>
XUnit\IntegerDataAttribute.cs (1)
13where TNumber : struct, IBinaryInteger<TNumber>, IMinMaxValue<TNumber>
XUnit\PositiveNumberDataAttribute.cs (1)
13: CommonMemberDataAttribute where TNumber : struct, IBinaryInteger<TNumber>, IMinMaxValue<TNumber>
XUnit\TestData.cs (6)
19where T : struct, IBinaryFloatingPointIeee754<T>, IMinMaxValue<T> 26where T : struct, IBinaryInteger<T>, IMinMaxValue<T> 33where T : struct, IBinaryInteger<T>, IMinMaxValue<T> 37where T : struct, IBinaryFloatingPointIeee754<T>, IMinMaxValue<T> 55where T : struct, IBinaryInteger<T>, IMinMaxValue<T> 78where T : struct, IBinaryInteger<T>, IMinMaxValue<T>
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
400[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IMinMaxValue<>))]
System.Runtime.Numerics (1)
System\Numerics\Complex.Generic.cs (1)
24where T : IFloatingPointIeee754<T>, IMinMaxValue<T>
System.Threading.Tasks.Parallel (5)
System\Threading\Tasks\Parallel.cs (1)
916where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt>
System\Threading\Tasks\ParallelLoopState.cs (3)
184internal static void Break<TInt>(TInt iteration, ParallelLoopStateFlags<TInt> pflags) where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt> 224internal sealed class ParallelLoopState<TInt> : ParallelLoopState where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt> 350where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt>
System\Threading\Tasks\ParallelRangeManager.cs (1)
176internal bool FindNewWork<TInt>(out TInt fromInclusive, out TInt toExclusive) where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt>