Can I make the compiler and the CLR ignore non implemented interfaces on my types?
- by Thiado de Arruda
I would like to define a type implementing a certain interface, however I would only implement it in a proxy at runtime. I can see two obstacles in this scenario :
1-Make the compiler ignore non implemented interfaces.
2-Make the CLR ignore(or at least delay) the TypeLoadException with the following description : "Method SOMEMETHOD in type SOMETYPE from assembly SOMEASSEMBLY does not have an implementation."
Is something like this possible?