Skip to content

Commit b3b4174

Browse files
committed
fix typo
1 parent 1c75a5a commit b3b4174

File tree

1 file changed

+2
-2
lines changed
  • src/libraries/System.Private.CoreLib/src/System

1 file changed

+2
-2
lines changed

src/libraries/System.Private.CoreLib/src/System/Single.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,8 +1469,8 @@ private static bool TryConvertTo<TOther>(float value, [MaybeNullWhen(false)] out
14691469
else if (typeof(TOther) == typeof(nuint))
14701470
{
14711471
#if MONO
1472-
nuint actualResult = (value >= uint.MaxValue) ? nuint.MaxValue :
1473-
(value <= uint.MinValue) ? nuint.MinValue : (nuint)value;
1472+
nuint actualResult = (value >= nuint.MaxValue) ? nuint.MaxValue :
1473+
(value <= nuint.MinValue) ? nuint.MinValue : (nuint)value;
14741474
#else
14751475
nuint actualResult = (nuint)value;
14761476
#endif

0 commit comments

Comments
 (0)