25 references to IsNegative
System.Runtime.Numerics (25)
System\Numerics\BigInteger.cs (25)
3596if (IsNegative(value)) 3825return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 4338actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4355actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4397actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4414actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4458actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4481actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4495IsNegative(value) ? uint.MinValue : (uint)value; 4502IsNegative(value) ? ulong.MinValue : (ulong)value; 4509IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4516IsNegative(value) ? nuint.MinValue : (nuint)value; 4539if (IsNegative(value)) 4562if (IsNegative(value)) 4608actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 4624actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 4659if (IsNegative(value)) 4716if (IsNegative(value)) 4739if (IsNegative(value)) 4766actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 4790if (IsNegative(value)) 4813if (IsNegative(value)) 4853if (IsNegative(value)) 4910if (IsNegative(value)) 4933if (IsNegative(value))