Is there a way to generate a class constraint with CodeDom.
Because when I use something like
var method = new CodeMemberMethod(); var genericParam = new
I also use zero-width space ("\x200Bclass") instead of normal space. Then I replace it in final string with empty string: .Replace("\x200B", string.Empty);
"\x200Bclass"
.Replace("\x200B", string.Empty);