Welcome to MSDN Blogs Sign in | Join | Help

New MSIL & Subset CodeDom Provider samples [Peter Drayton]

There's a fair bit written about using CodeDom, but samples showing how to implement your own provider have been quite thin on the ground. Fortunately Eden Li, a CLR intern this summer, produced a couple of useful CodeDom provider samples now live on the MSDN BCL site:

  • MSIL provider: consumes 1.1-level CodeDom trees and generates textual IL - useful as a relatively complete language-neutral example for folk implementing CodeDom providers targeting other languages.
  • Subset provider: consumes 1.1-level CodeDom trees and generates annotated C# source indicating where the tree uses features outside the bounds of the CodeDom Subset (i.e. the set of features all providers must support) - useful when generating CodeDom trees to confirm they should be consumable by all CodeDom providers, regardless of target language.
Published Monday, November 29, 2004 8:02 PM by BCLTeam
Filed under:

Comments

Friday, December 03, 2004 7:20 PM by Victor Garcia Aprea

# re: New MSIL & Subset CodeDom Provider samples [Peter Drayton]

The code for IL CodeDOM Provider doesn't compile AS IS. DO you know which bits it is supposed to be compiled against? The download seems like its missing some pieces too, please see my latest post: http://weblogs.asp.net/vga
Sunday, December 05, 2004 9:06 AM by Jason Haley

# More interesting finds this weekend

More interesting finds this weekend
New Comments to this post are disabled
 
Page view tracker