1 implementation of IsEvenInteger
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1446
static bool INumberBase<char>.
IsEvenInteger
(char value) => (value & 1) == 0;
22 references to IsEvenInteger
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsEvenInteger.cs (1)
53
public static bool Invoke(T x) => T.
IsEvenInteger
(x);
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
624
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1445
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1396
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1108
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1822
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1361
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
738
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
779
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
776
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
771
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
198
/// <para>This functioning returning <c>false</c> does not imply that <see cref="
IsEvenInteger
(TSelf)" /> will return <c>true</c>. A number with a fractional portion, <c>3.3</c>, is neither even nor odd.</para>
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1356
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
701
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1105
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1511
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
643
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
682
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
681
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
684
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
4058
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />
System\Numerics\Complex.cs (1)
1003
/// <inheritdoc cref="INumberBase{TSelf}.
IsEvenInteger
(TSelf)" />