CodeDom question -- still unanswered from 2002!

  • Thread starter Thread starter Mr. Mountain
  • Start date Start date
Thanks, but I wasn't referring to a const.
ReadOnly is different.

However, I now realize that CodeDom is far from being able to represent all
the features of C# or VB.NET. Previously I had the mistaken impression that
I could do anything in C# with CodeDOM. Now I realize that CodeDOM can't
even do switch statements, etc (without using snippets). Therefore, I'm sure
it cannot do readonly fields.

This leaves two choices:
1. use code snippets and/or
2. use one of the alternative code generation techniques mentioned in the
new book I just received (Code Generation in Microsoft .Net).

Regards,
Mountain
 
Back
Top