Hey Ivan,

On 11/7/07, Ivan <[EMAIL PROTECTED]> wrote:
> I want to find "GenMethod(U)"... "GenMethod<System.Object>(!!0)" nor
> "GenMethod(!!0)" help me do that.
> TypeDefinition.Methods.GetMethod() can't use "GenMethod(!!0)" to find
> "GenMethod(U)". The parameter "!!0" won't match against "U".

Still, it's the MethodReference that references the Definition you're
looking for.

The linker have some nice code to get a definition from a reference. See:

/mcs/tools/linker/Mono.Linker/AssemblyResolver.cs

-- 
Jb Evain  <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to