On Thu, Dec 2, 2010 at 4:30 PM, Greg Young <[email protected]> wrote: > When I go to call in the extension method: > MethodDefinition.Parameters[0].GetTypeWithGenericResolve(); > MethodDefinition is a GenericInstanceMethod it is pointing at a method ... > Whatever<string>("hello"); > Inside of the extension method I call: parameterDefinition.Method to get the > method. But what I get back is no longer a GenericInstanceMethod.
Right, a GenericInstanceMethod is just a specification of the method which declares the parameter. Meaning that the parameter is attached to the actual method that the GenericInstanceMethod is instantiating. -- -- mono-cecil
