CodeDom question -- still unanswered from 2002!

M

Mr. Mountain

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Does anyone have the correct solution 1
Floppy Fix 1
Floppy Fix 1
Floppy Fix 12
MRxSmb Event ID 3034 error code c0000064 1
Connected machine's IP 5
Where is Emulator state saved? 3
question FromTheRafters 4

Top