26 references to IsNegative
System.Runtime.Numerics (26)
System\Numerics\BigInteger.cs (26)
3891if (IsNegative(value)) 4149return IsNegative(x) ? y : x; 4174return IsNegative(x) ? x : y; 4666actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4683actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4719actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4736actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4780actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4803actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4817IsNegative(value) ? uint.MinValue : (uint)value; 4824IsNegative(value) ? ulong.MinValue : (ulong)value; 4831IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4838IsNegative(value) ? nuint.MinValue : (nuint)value; 4861if (IsNegative(value)) 4884if (IsNegative(value)) 4924actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 4940actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 4966if (IsNegative(value)) 5011if (IsNegative(value)) 5042if (IsNegative(value)) 5069actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5093if (IsNegative(value)) 5116if (IsNegative(value)) 5147if (IsNegative(value)) 5192if (IsNegative(value)) 5223if (IsNegative(value))