Skip to content

Commit

Permalink
GeneratorKind: patch bug caused by missing ToString (mono#1811)
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocklogic authored Dec 16, 2023
1 parent 519e97f commit 1327971
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Generator/GeneratorKind.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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" });

Expand Down

0 comments on commit 1327971

Please sign in to comment.