Wow. This sounds really great. Common embeded interface definitions is something I have often wished for this kind of thing in the past and this sounds like a really excellent implementation.
On a related note I have another "problem" that I guess this tyep of approach might one day be able to solve?
Like I suspect many people I now have a large library of extension methods which i commonly use embeded in a dll. Most of these are extermely simplistic but just make the code easier to read. Currently every app I write has to be shipped with a copy of the dll that implements these extension methods. However many small apps only use a very small number of these extension methods. In addittion new extension methods are often added. This results in lots of versions of this libary dll being distributed. In practice however these extenstions are really about cleaning up code syntax and the code will in effect evetualy be inlined. They are in effect a bit like code snippets. It would seem much better if these exensions were simply embbeded by the complier when used so i didnt need to ship a seperate big dll. Perhaps one day this technology might make that possible.