From fa530d9b95b8bf3ddbd2ac3597f1e5e27a4391c4 Mon Sep 17 00:00:00 2001 From: Deadlocklogic Date: Sat, 16 Dec 2023 19:03:35 +0200 Subject: [PATCH] GeneratorKind: patch bug caused by missing ToString --- src/Generator/GeneratorKind.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Generator/GeneratorKind.cs b/src/Generator/GeneratorKind.cs index 200ed11e4..4101a77cb 100644 --- a/src/Generator/GeneratorKind.cs +++ b/src/Generator/GeneratorKind.cs @@ -104,6 +104,11 @@ public override int GetHashCode() } } + 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" });