Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address PR feedback
  • Loading branch information
stephentoub authored and github-actions committed Aug 18, 2022
commit cfe408e050356047319d7520791633c13c1db496
2 changes: 1 addition & 1 deletion src/libraries/System.Private.CoreLib/src/System/Half.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ static bool INumberBase<Half>.TryConvertToChecked<TOther>(Half value, [MaybeNull
if (typeof(TOther) == typeof(byte))
{
byte actualResult = checked((byte)value);
result = (TOther)(object)actualResult!;
result = (TOther)(object)actualResult;
return true;
}
else if (typeof(TOther) == typeof(char))
Expand Down