When I have a MethodReference or TypeReference representing a generic method call / object instance, calling Resolve() seems to eliminate the generic arguments, resulting in invalid references in the CIL code. Is this intentional? The problem is that I need to call Resolve(), then manipulate the resulting definition object, and I also have to preserve (and manipulate) the generic arguments (if any).
Any hints? Thank you! -- -- mono-cecil
