You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Color color = Color.Parse("#2F5C3A");
Does produce an ArgumentException "Requested value '#2F5C3A' was not found."
This Exception seems to be handled somewhere but slows down the code a lot. The color is parsed correctly though.
Expected Behavior
Should parse the color without throwing any Exceptions if the format is valid.
Actual Behavior
Always throws an ArgumentException.
Steps to Reproduce the Behavior
Create a new .Net 8 Console Application and try to parse a color from a hex string as I did.
The text was updated successfully, but these errors were encountered:
Color color = Color.Parse("#2F5C3A");
Does produce an ArgumentException "Requested value '#2F5C3A' was not found."
This Exception seems to be handled somewhere but slows down the code a lot. The color is parsed correctly though.
Expected Behavior
Should parse the color without throwing any Exceptions if the format is valid.
Actual Behavior
Always throws an ArgumentException.
Steps to Reproduce the Behavior
Create a new .Net 8 Console Application and try to parse a color from a hex string as I did.
The text was updated successfully, but these errors were encountered: