Skip to content

Commit 1327971

Browse files
GeneratorKind: patch bug caused by missing ToString (#1811)
1 parent 519e97f commit 1327971

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Generator/GeneratorKind.cs

+5
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ public override int GetHashCode()
104104
}
105105
}
106106

107+
public override string ToString()
108+
{
109+
return ID;
110+
}
111+
107112
public const string CLI_ID = "CLI";
108113
public static readonly GeneratorKind CLI = new(CLI_ID, "C++/CLI", typeof(CLIGenerator), typeof(CLITypePrinter), new[] { "cli" });
109114

0 commit comments

Comments
 (0)