enum-utilities-generator
enum-utilities-generator copied to clipboard
Quote marks in title will break code
If I use this:
public enum PaymentMethodIgnore
{
[Description("Credit\"card")]
Credit,
[Description("Debit card")]
Debit,
Cash
}
The generated code will not compile. Consider use SymbolDisplay.FormatLiteral to properly escape strings.
I'll look into that in the near future. When I created this lib, I didn't take this kind of scenario in consideration.