Skip to content

Commit

Permalink
Merge pull request godotengine#69278 from rhofour/remove-namespaces
Browse files Browse the repository at this point in the history
Remove unnecessary namespaces in generated PropertyDefVal files.
  • Loading branch information
neikeq authored Nov 30, 2022
2 parents cd491c6 + 215022c commit 6745e19
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ INamedTypeSymbol symbol

var source = new StringBuilder();

source.Append("using Godot;\n");
source.Append("using Godot.NativeInterop;\n");
source.Append("\n");

if (hasNamespace)
{
source.Append("namespace ");
Expand Down Expand Up @@ -281,7 +277,7 @@ INamedTypeSymbol symbol
{
source.Append("#pragma warning disable CS0109 // Disable warning about redundant 'new' keyword\n");

string dictionaryType = "System.Collections.Generic.Dictionary<StringName, object>";
string dictionaryType = "System.Collections.Generic.Dictionary<Godot.StringName, object>";

source.Append("#if TOOLS\n");
source.Append(" internal new static ");
Expand Down

0 comments on commit 6745e19

Please sign in to comment.