14 implementations of MaxNumber
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
529
static byte INumber<byte>.
MaxNumber
(byte x, byte y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1251
static decimal INumber<decimal>.
MaxNumber
(decimal x, decimal y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1231
static Int128 INumber<Int128>.
MaxNumber
(Int128 x, Int128 y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
629
static short INumber<short>.
MaxNumber
(short x, short y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
671
static int INumber<int>.
MaxNumber
(int x, int y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
668
static long INumber<long>.
MaxNumber
(long x, long y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
691
static nint INumber<nint>.
MaxNumber
(nint x, nint y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
608
static sbyte INumber<sbyte>.
MaxNumber
(sbyte x, sbyte y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1454
static UInt128 INumber<UInt128>.
MaxNumber
(UInt128 x, UInt128 y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
534
static ushort INumber<ushort>.
MaxNumber
(ushort x, ushort y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
599
static uint INumber<uint>.
MaxNumber
(uint x, uint y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
606
static ulong INumber<ulong>.
MaxNumber
(ulong x, ulong y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
605
static nuint INumber<nuint>.
MaxNumber
(nuint x, nuint y) => Max(x, y);
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4097
static BigInteger INumber<BigInteger>.
MaxNumber
(BigInteger x, BigInteger y) => Max(x, y);
23 references to MaxNumber
System.Numerics.Tensors (4)
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
1487
destination = T.
MaxNumber
(x, destination);
1497
destination = T.
MaxNumber
(x, destination);
1507
destination = T.
MaxNumber
(x, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.MaxNumber.cs (1)
102
public static T Invoke(T x, T y) => T.
MaxNumber
(x, y);
System.Private.CoreLib (18)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
528
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1250
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
989
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1723
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1230
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
628
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
670
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
667
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
690
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1315
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1189
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
607
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
984
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1453
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
533
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
598
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
605
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
604
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4096
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />