diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2022-08-29 01:22:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 01:22:39 +0200 |
commit | 58f8f3a40e8b068b9f7b92cae21e0cabb406dd07 (patch) | |
tree | 1ee491c6bd97355aaf8109c132ed7d064fec2f1b /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators | |
parent | f70e106010e10451822ba8f526fdcc7b60fa2981 (diff) | |
parent | 79f9f59a87c10bd85c7a31f4b5017bce5bfbbeb1 (diff) |
Merge pull request #64900 from raulsntos/dotnet/fix-exceptions
Fix various C# exceptions
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators')
-rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MarshalUtils.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MarshalUtils.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MarshalUtils.cs index 831ac3bdeb..efdd50098e 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MarshalUtils.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MarshalUtils.cs @@ -16,7 +16,7 @@ namespace Godot.SourceGenerators INamedTypeSymbol GetTypeByMetadataNameOrThrow(string fullyQualifiedMetadataName) { return compilation.GetTypeByMetadataName(fullyQualifiedMetadataName) ?? - throw new InvalidOperationException("Type not found: " + fullyQualifiedMetadataName); + throw new InvalidOperationException($"Type not found: '{fullyQualifiedMetadataName}'."); } GodotObjectType = GetTypeByMetadataNameOrThrow("Godot.Object"); |