On Mon, May 23, 2011 at 8:30 AM, Simon <[email protected]> wrote: > In this case let say I am running in the context of .net 4 but I am > modifying a silverlight assembly. > Will "typeof (Action<,>)" cause problems? Because I will be importing the > .net 4 type no the silverlight type.
Yes it will, you have to use the Cecil type system in this case, and import the TypeDefinition from the SL corlib. Jb -- -- mono-cecil
