14 implementations of IsInteger
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
632
static bool INumberBase<byte>.
IsInteger
(byte value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1512
static bool INumberBase<char>.
IsInteger
(char value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1360
static bool INumberBase<Int128>.
IsInteger
(Int128 value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
732
static bool INumberBase<short>.
IsInteger
(short value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
774
static bool INumberBase<int>.
IsInteger
(int value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
771
static bool INumberBase<long>.
IsInteger
(long value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
794
static bool INumberBase<nint>.
IsInteger
(nint value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
714
static bool INumberBase<sbyte>.
IsInteger
(sbyte value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1557
static bool INumberBase<UInt128>.
IsInteger
(UInt128 value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
637
static bool INumberBase<ushort>.
IsInteger
(ushort value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
702
static bool INumberBase<uint>.
IsInteger
(uint value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
709
static bool INumberBase<ulong>.
IsInteger
(ulong value) => true;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
708
static bool INumberBase<nuint>.
IsInteger
(nuint value) => true;
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4198
static bool INumberBase<BigInteger>.
IsInteger
(BigInteger value) => true;
24 references to IsInteger
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsInteger.cs (1)
65
public static bool Invoke(T x) => T.
IsInteger
(x);
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
631
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1511
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1385
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1132
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1878
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1359
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
731
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
773
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
770
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
793
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1467
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1289
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
713
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1147
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1556
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
636
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
701
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
708
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
707
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (1)
4197
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
System\Numerics\Complex.cs (1)
594
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
System\Numerics\Complex.Generic.cs (2)
1256
/// <inheritdoc cref="INumberBase{TSelf}.
IsInteger
(TSelf)" />
1257
public static bool IsInteger(Complex<T> value) => (value.m_imaginary == T.Zero) && T.
IsInteger
(value.m_real);