Skip to content

Commit

Permalink
🐛 Make ToArgb unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinbreiz committed Sep 25, 2023
1 parent 7debb7f commit ba9549c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Cosmos.System2_Plugs/System/Drawing/ColorImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ public static long get_Value(ref Color aThis,
public static int ToArgb(ref Color aThis,
[FieldAccess(Name = "System.Int64 System.Drawing.Color.value")] ref long aValue)
{
return (int)aValue;
return unchecked((int)aValue);
}

public static string ToString(ref Color aThis,
Expand Down

0 comments on commit ba9549c

Please sign in to comment.