15 implementations of IsNaN
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
640static bool INumberBase<byte>.IsNaN(byte value) => false;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1461static bool INumberBase<char>.IsNaN(char value) => false;
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1416static bool INumberBase<decimal>.IsNaN(decimal value) => false;
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1377static bool INumberBase<Int128>.IsNaN(Int128 value) => false;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
754static bool INumberBase<short>.IsNaN(short value) => false;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
795static bool INumberBase<int>.IsNaN(int value) => false;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
792static bool INumberBase<long>.IsNaN(long value) => false;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
787static bool INumberBase<nint>.IsNaN(nint value) => false;
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
714static bool INumberBase<sbyte>.IsNaN(sbyte value) => false;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1527static bool INumberBase<UInt128>.IsNaN(UInt128 value) => false;
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
659static bool INumberBase<ushort>.IsNaN(ushort value) => false;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
698static bool INumberBase<uint>.IsNaN(uint value) => false;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
697static bool INumberBase<ulong>.IsNaN(ulong value) => false;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
700static bool INumberBase<nuint>.IsNaN(nuint value) => false;
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4083static bool INumberBase<BigInteger>.IsNaN(BigInteger value) => false;
50 references to IsNaN
PresentationCore.Tests (3)
FluentAssertions\ComparisonHelpers.cs (3)
23if (T.IsNaN(x)) 25return T.IsNaN(y); 27else if (T.IsNaN(y))
System.Linq (14)
System\Linq\Max.cs (5)
113for (i = 0; i < span.Length && T.IsNaN(span[i]); i++) ; 142while (T.IsNaN(value)) 185while (T.IsNaN(valueVal)) 649while (TResult.IsNaN(value)) 697while (TResult.IsNaN(valueVal))
System\Linq\Min.cs (9)
102else if (T.IsNaN(current)) 118if (T.IsNaN(value)) 139else if (T.IsNaN(x)) 170if (T.IsNaN(valueVal)) 186else if (T.IsNaN(x)) 610if (TResult.IsNaN(value)) 631else if (TResult.IsNaN(x)) 666if (TResult.IsNaN(valueVal)) 682else if (TResult.IsNaN(x))
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (2)
424if (T.IsNaN(curResult)) 432if (T.IsNaN(current))
System\Numerics\Tensors\netcore\TensorPrimitives.IsNaN.cs (1)
71public static bool Invoke(T x) => T.IsNaN(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (2)
586if (T.IsNaN(curResult)) 594if (T.IsNaN(current))
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
639/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1460/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1415/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1376/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
753/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
794/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
791/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
786/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (1)
534if (TNumber.IsNaN(value))
src\libraries\System.Private.CoreLib\src\System\Numerics\INumber.cs (5)
92if (!TSelf.IsNaN(x)) 127if (!TSelf.IsNaN(y)) 153if (!TSelf.IsNaN(x)) 188if (!TSelf.IsNaN(y)) 207if (TSelf.IsNaN(value))
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (3)
172if (T.IsNaN(x)) 174if (T.IsNaN(y)) 190else if (T.IsNaN(y))
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
713/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1526/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
658/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
697/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
696/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
699/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
System.Private.Windows.Core.TestUtilities (3)
ComparisonHelpers.cs (3)
23if (T.IsNaN(x)) 25return T.IsNaN(y); 27else if (T.IsNaN(y))
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4082/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" />
System.Windows.Forms.Primitives.TestUtilities (1)
Extensions\AssertExtensions.cs (1)
589if (T.IsNaN(value))