14 implementations of MaxNumber
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
534static byte INumber<byte>.MaxNumber(byte x, byte y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1280static decimal INumber<decimal>.MaxNumber(decimal x, decimal y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1241static Int128 INumber<Int128>.MaxNumber(Int128 x, Int128 y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
648static short INumber<short>.MaxNumber(short x, short y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
689static int INumber<int>.MaxNumber(int x, int y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
686static long INumber<long>.MaxNumber(long x, long y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
681static nint INumber<nint>.MaxNumber(nint x, nint y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
611static sbyte INumber<sbyte>.MaxNumber(sbyte x, sbyte y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1421static UInt128 INumber<UInt128>.MaxNumber(UInt128 x, UInt128 y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
553static ushort INumber<ushort>.MaxNumber(ushort x, ushort y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
592static uint INumber<uint>.MaxNumber(uint x, uint y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
591static ulong INumber<ulong>.MaxNumber(ulong x, ulong y) => Max(x, y);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
594static nuint INumber<nuint>.MaxNumber(nuint x, nuint y) => Max(x, y);
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3997static 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)
1435destination = T.MaxNumber(x, destination); 1445destination = T.MaxNumber(x, destination); 1455destination = T.MaxNumber(x, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.MaxNumber.cs (1)
105public 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)" />