From 1327971e25ea298951f64864ad3bcdecf745ca0f Mon Sep 17 00:00:00 2001 From: deadlocklogic <57906342+deadlocklogic@users.noreply.github.com> Date: Sat, 16 Dec 2023 21:36:04 +0200 Subject: [PATCH] GeneratorKind: patch bug caused by missing ToString (#1811) --- src/Generator/GeneratorKind.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Generator/GeneratorKind.cs b/src/Generator/GeneratorKind.cs index 200ed11e..4101a77c 100644 --- a/src/Generator/GeneratorKind.cs +++ b/src/Generator/GeneratorKind.cs @@ -104,6 +104,11 @@ namespace CppSharp.Generators } } + public override string ToString() + { + return ID; + } + public const string CLI_ID = "CLI"; public static readonly GeneratorKind CLI = new(CLI_ID, "C++/CLI", typeof(CLIGenerator), typeof(CLITypePrinter), new[] { "cli" });