We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82dbf8c commit 280ff49Copy full SHA for 280ff49
src/Tasks/Microsoft.NET.Build.Tasks/GenerateResxCodeBehindFile.cs
@@ -37,11 +37,11 @@ protected override void ExecuteCore()
37
38
try
39
{
40
- if (Language.ToUpperInvariant() == "C#")
+ if (Language.Equals("C#", StringComparison.OrdinalIgnoreCase))
41
42
WriteCSharpCodeBehind(item, codeBehindPath);
43
}
44
- else if (Language.ToUpperInvariant() == "VB")
+ else if (Language.Equals("VB", StringComparison.OrdinalIgnoreCase))
45
46
WriteVisualBasicCodeBehind(item, codeBehindPath);
47
0 commit comments