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