I want my ICodeParser implementation!
Note: this entry has moved.
For some reason both the VBCodeProvider
and CSharpCodeProvider
don't return a valid IParser implementation when asked for through the GetParser()
method. I know many argue that CodeDom was not intended for that, that certain language features are not expressible in CodeDom, etc... but, if Boland C#Builder makes it available(find the word IOTACodeDomProvider), I can't see why VS.NET developers can't have it.
Let me say that again: we NEED that feature, as it makes possible refactoring classes, generating code, enforcing coding standards and MUCH more. And please don't point me to the ugly-old-.NET unfriendly EnvDTE.Code*
code model. I've learned CodeDom for other new features, I want to use it to manage project items too!