25 references to IsNegative
System.Runtime.Numerics (25)
System\Numerics\BigInteger.cs (25)
3712if (IsNegative(value)) 3974return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 4487actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4504actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4546actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4563actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4607actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4630actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4644IsNegative(value) ? uint.MinValue : (uint)value; 4651IsNegative(value) ? ulong.MinValue : (ulong)value; 4658IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4665IsNegative(value) ? nuint.MinValue : (nuint)value; 4688if (IsNegative(value)) 4711if (IsNegative(value)) 4757actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 4773actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 4799if (IsNegative(value)) 4844if (IsNegative(value)) 4875if (IsNegative(value)) 4902actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 4926if (IsNegative(value)) 4949if (IsNegative(value)) 4980if (IsNegative(value)) 5025if (IsNegative(value)) 5056if (IsNegative(value))