1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script

This commit is contained in:
2750558108
2025-08-08 11:10:54 +08:00
parent 7a0ab9d561
commit f192430921
12 changed files with 57 additions and 27 deletions

View File

@@ -138,7 +138,7 @@ namespace Godot.SourceGenerators
source.Append(attributes);
source.Append("\npartial class ");
source.Append(symbol.NameWithTypeParameters());
source.Append(symbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));
source.Append("\n{\n}\n");
if (hasNamespace)