Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr.Rx committed Feb 20, 2020
1 parent f972622 commit 92ca5cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static Color Parse(string colorCode)
throw new ArgumentNullException(nameof(colorCode));
}

if (!colorCode.StartsWith("#"))
if (!colorCode.StartsWith("#", StringComparison.OrdinalIgnoreCase))
{
throw new FormatException("Color code must start with #");
}
Expand Down

0 comments on commit 92ca5cd

Please sign in to comment.