18 references to NegativeInfinity
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Half.cs (11)
313
/// <returns>The equivalent <see cref="Half"/> value representing the input string. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. </returns>
321
/// <returns>The equivalent <see cref="Half"/> value representing the input string. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. </returns>
329
/// <returns>The equivalent <see cref="Half"/> value representing the input string. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. </returns>
338
/// <returns>The equivalent <see cref="Half"/> value representing the input string. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. </returns>
354
/// <returns>The equivalent <see cref="Half"/> value representing the input string. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. </returns>
365
/// <param name="result">The equivalent <see cref="Half"/> value representing the input string if the parse was successful. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. If the parse was unsuccessful, a default <see cref="Half"/> value is returned.</param>
373
/// <param name="result">The equivalent <see cref="Half"/> value representing the input string if the parse was successful. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. If the parse was unsuccessful, a default <see cref="Half"/> value is returned.</param>
389
/// <param name="result">The equivalent <see cref="Half"/> value representing the input string if the parse was successful. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. If the parse was unsuccessful, a default <see cref="Half"/> value is returned.</param>
409
/// <param name="result">The equivalent <see cref="Half"/> value representing the input string if the parse was successful. If the input exceeds Half's range, a <see cref="PositiveInfinity"/> or <see cref="
NegativeInfinity
"/> is returned. If the parse was unsuccessful, a default <see cref="Half"/> value is returned.</param>
586
return sign ?
NegativeInfinity
: PositiveInfinity;
2111
(value ==
NegativeInfinity
) ? decimal.MinValue :
src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1013
(actualValue == Half.
NegativeInfinity
) ? MinValue : (int)actualValue;
1091
(actualValue == Half.
NegativeInfinity
) ? MinValue : (int)actualValue;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1010
(actualValue == Half.
NegativeInfinity
) ? MinValue : (long)actualValue;
1086
(actualValue == Half.
NegativeInfinity
) ? MinValue : (long)actualValue;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1005
(actualValue == Half.
NegativeInfinity
) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1082
(actualValue == Half.
NegativeInfinity
) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
System.Text.Json (1)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
171
value = Half.
NegativeInfinity
;