|
@@ -6,7 +6,7 @@ namespace Godot.NativeInterop;
|
|
|
|
|
|
public partial class VariantUtils
|
|
public partial class VariantUtils
|
|
{
|
|
{
|
|
- private static Exception UnsupportedType<T>() => throw new InvalidOperationException(
|
|
|
|
|
|
+ private static Exception UnsupportedType<T>() => new InvalidOperationException(
|
|
$"The type is not supported for conversion to/from Variant: '{typeof(T).FullName}'");
|
|
$"The type is not supported for conversion to/from Variant: '{typeof(T).FullName}'");
|
|
|
|
|
|
internal static class GenericConversion<T>
|
|
internal static class GenericConversion<T>
|