24 references to PositiveInfinity
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Half.cs (17)
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
;
2103
char actualResult = (value ==
PositiveInfinity
) ? char.MaxValue :
2110
decimal actualResult = (value ==
PositiveInfinity
) ? decimal.MaxValue :
2118
ushort actualResult = (value ==
PositiveInfinity
) ? ushort.MaxValue :
2125
uint actualResult = (value ==
PositiveInfinity
) ? uint.MaxValue :
2132
ulong actualResult = (value ==
PositiveInfinity
) ? ulong.MaxValue :
2140
UInt128 actualResult = (value ==
PositiveInfinity
) ? UInt128.MaxValue :
2147
nuint actualResult = (value ==
PositiveInfinity
) ? nuint.MaxValue :
src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1012
result = (actualValue == Half.
PositiveInfinity
) ? MaxValue :
1090
result = (actualValue == Half.
PositiveInfinity
) ? MaxValue :
src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1009
result = (actualValue == Half.
PositiveInfinity
) ? MaxValue :
1085
result = (actualValue == Half.
PositiveInfinity
) ? MaxValue :
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1004
result = (actualValue == Half.
PositiveInfinity
) ? unchecked((nint)nint_t.MaxValue) :
1081
result = (actualValue == Half.
PositiveInfinity
) ? unchecked((nint)nint_t.MaxValue) :
System.Text.Json (1)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
163
value = Half.
PositiveInfinity
;