diff --git a/src/Generator/GeneratorKind.cs b/src/Generator/GeneratorKind.cs index 9307452f..0d8d2a86 100644 --- a/src/Generator/GeneratorKind.cs +++ b/src/Generator/GeneratorKind.cs @@ -99,6 +99,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" });