Skip to content

Commit 63f992a

Browse files
committed
use invariant culture when capitalizing for the purposes of code generation
1 parent 5b82ede commit 63f992a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Utilities/CSharpCodeHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static string MakeTypeName(string name, string suffix = "")
8585
{
8686
var symbolName = MakeIdentifier(name, suffix);
8787
if (char.IsLower(symbolName[0]))
88-
symbolName = char.ToUpper(symbolName[0]) + symbolName.Substring(1);
88+
symbolName = char.ToUpperInvariant(symbolName[0]) + symbolName.Substring(1);
8989
return symbolName;
9090
}
9191

0 commit comments

Comments
 (0)