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)
1246static 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)
699static 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)
1426static 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)
607static 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)
1467destination = T.MaxNumber(x, destination); 1477destination = T.MaxNumber(x, destination); 1487destination = 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 (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)
1245/// <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)
698/// <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)
1425/// <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)
606/// <inheritdoc cref="INumber{TSelf}.MaxNumber(TSelf, TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3996/// <inheritdoc cref="INumber{TSelf}.MaxNumber(TSelf, TSelf)" />