Skip to content

Commit

Permalink
Incorrect culture used for string.Format
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Feb 3, 2024
1 parent 7939f88 commit 2c7d34f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public TestMethodMustNotHaveMultipleFactAttributesFixer() :
{ }

public static string Key_KeepAttribute(string simpleTypeName) =>
string.Format(CultureInfo.CurrentCulture, "xUnit1002_KeepAttribute_{0}", simpleTypeName);
string.Format(CultureInfo.InvariantCulture, "xUnit1002_KeepAttribute_{0}", simpleTypeName);

public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
{
Expand Down

0 comments on commit 2c7d34f

Please sign in to comment.