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" });