1 implementation of IsEvenInteger
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1500static bool INumberBase<char>.IsEvenInteger(char value) => (value & 1) == 0;
25 references to IsEvenInteger
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsEvenInteger.cs (1)
48public static bool Invoke(T x) => T.IsEvenInteger(x);
System.Private.CoreLib (20)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
619/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1499/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1369/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1126/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1872/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1347/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
719/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
761/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
758/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
781/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1461/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1283/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
698/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1121/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1544/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
624/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
689/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
696/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
695/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (1)
4180/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
System\Numerics\Complex.cs (1)
588/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" />
System\Numerics\Complex.Generic.cs (2)
1250/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1251public static bool IsEvenInteger(Complex<T> value) => (value.m_imaginary == T.Zero) && T.IsEvenInteger(value.m_real);