14 implementations of MaxNumber
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
534
static byte INumber<byte>.
MaxNumber
(byte x, byte y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1280
static decimal INumber<decimal>.
MaxNumber
(decimal x, decimal y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1241
static Int128 INumber<Int128>.
MaxNumber
(Int128 x, Int128 y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
648
static short INumber<short>.
MaxNumber
(short x, short y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
689
static int INumber<int>.
MaxNumber
(int x, int y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
686
static long INumber<long>.
MaxNumber
(long x, long y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
681
static nint INumber<nint>.
MaxNumber
(nint x, nint y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
611
static sbyte INumber<sbyte>.
MaxNumber
(sbyte x, sbyte y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1421
static UInt128 INumber<UInt128>.
MaxNumber
(UInt128 x, UInt128 y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
553
static ushort INumber<ushort>.
MaxNumber
(ushort x, ushort y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
592
static uint INumber<uint>.
MaxNumber
(uint x, uint y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
591
static ulong INumber<ulong>.
MaxNumber
(ulong x, ulong y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
594
static nuint INumber<nuint>.
MaxNumber
(nuint x, nuint y) => Max(x, y);
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3997
static BigInteger INumber<BigInteger>.
MaxNumber
(BigInteger x, BigInteger y) => Max(x, y);
22 references to MaxNumber
System.Numerics.Tensors (4)
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
1435
destination = T.
MaxNumber
(x, destination);
1445
destination = T.
MaxNumber
(x, destination);
1455
destination = T.
MaxNumber
(x, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.MaxNumber.cs (1)
105
public static T Invoke(T x, T y) => T.
MaxNumber
(x, y);
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
533
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1279
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
971
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1673
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1240
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
647
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
688
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
685
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
680
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1262
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
610
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
968
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1420
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
552
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
591
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
590
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
593
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3996
/// <inheritdoc cref="INumber{TSelf}.
MaxNumber
(TSelf, TSelf)" />