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