diff options
author | Treer <treer.git@gmail.com> | 2023-01-31 16:23:17 +1100 |
---|---|---|
committer | Treer <treer.git@gmail.com> | 2023-01-31 16:23:17 +1100 |
commit | 273df44e1db003628bb221bfd898450ac7ed7b01 (patch) | |
tree | d4debc8b5753f42105a0c1e1be5ffb094baf77eb /modules | |
parent | e9de988020f3d46c3e7b4fd5a8a80724996035e0 (diff) |
Qualify Console's namespace to avoid mixup with plugin's objects
Avoid error when a plugin contains a class called "Console":
Godot.SourceGenerators\Godot.SourceGenerators.GodotPluginsInitializerGenerator\GodotPlugins.Game.generated.cs(32,25): error CS0117: 'Console' does not contain a definition for 'Error'
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs index 813bdf1e9f..ce654cb4b8 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs @@ -48,7 +48,7 @@ namespace GodotPlugins.Game } catch (Exception e) { - Console.Error.WriteLine(e); + System.Console.Error.WriteLine(e); return false.ToGodotBool(); } } |