Hi guys. Can someone give me an example of working method injection? I want to inject an interface and implement it's method in the existing type.
I've used the next code that worked fine with old cecil: http://www.everfall.com/paste/id.php?xcdtvfgdbvin - but with cecil/ light it produces not loadable assembly: .net reports "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." with "The signature is incorrect." in LoaderExceptions for the modified type. WBR Alex -- -- mono-cecil
