14 implementations of MaxNumber
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
529static byte INumber<byte>.MaxNumber(byte x, byte y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1251static decimal INumber<decimal>.MaxNumber(decimal x, decimal y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1231static Int128 INumber<Int128>.MaxNumber(Int128 x, Int128 y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
629static short INumber<short>.MaxNumber(short x, short y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
671static int INumber<int>.MaxNumber(int x, int y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
668static long INumber<long>.MaxNumber(long x, long y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
691static nint INumber<nint>.MaxNumber(nint x, nint y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
608static sbyte INumber<sbyte>.MaxNumber(sbyte x, sbyte y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1454static UInt128 INumber<UInt128>.MaxNumber(UInt128 x, UInt128 y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
534static ushort INumber<ushort>.MaxNumber(ushort x, ushort y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
599static uint INumber<uint>.MaxNumber(uint x, uint y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
606static ulong INumber<ulong>.MaxNumber(ulong x, ulong y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
605static nuint INumber<nuint>.MaxNumber(nuint x, nuint y) => Max(x, y);
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4097static 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)
1487destination = T.MaxNumber(x, destination); 1497destination = T.MaxNumber(x, destination); 1507destination = T.MaxNumber(x, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.MaxNumber.cs (1)
102public 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)" />