26 references to IsNegative
System.Runtime.Numerics (26)
System\Numerics\BigInteger.cs (26)
3340if (IsNegative(value)) 4029if (IsNegative(value)) 4258return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 4771actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4788actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4830actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4847actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4891actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4914actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4928IsNegative(value) ? uint.MinValue : (uint)value; 4935IsNegative(value) ? ulong.MinValue : (ulong)value; 4942IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4949IsNegative(value) ? nuint.MinValue : (nuint)value; 4972if (IsNegative(value)) 4995if (IsNegative(value)) 5041actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 5057actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 5092if (IsNegative(value)) 5149if (IsNegative(value)) 5172if (IsNegative(value)) 5199actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5223if (IsNegative(value)) 5246if (IsNegative(value)) 5286if (IsNegative(value)) 5343if (IsNegative(value)) 5366if (IsNegative(value))