I picked up this link to a cool new open source tool called PostSharp. PostSharp reads in compiled .NET code (assemblies) and creates an in-memory object model that can be manipulated. The system is pluggable and in some of the examples they use it for aspect weaving.

Its very similar to XC# from ResolveCorp which I read about a number of years ago – at the moment XC# might have better IDE support but I wouldn’t be surprised if a lot of people got behind PostSharp – especially snce in theory it will work with any managed language.