figured it out, it was that I was calling Resolve() which returned back the
original typedefinition when walking inheritance chain. Changed so it only
used resolve when moving to base and things work.

On Thu, Dec 2, 2010 at 2:34 PM, Greg Young <[email protected]> wrote:

> Leher's say I have a class:
>
> public class B : A<int, string> {
> }
>
> public class A<T,V> {
> }
>
> I have a MethodReference and take the DeclaringType. I can figure out that
> B : A<T,V> but can't seem to figure out how to get the generic instance?
>
> Any thoughts?
>
> Greg
>
> --
> Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
> votre attention
>



-- 
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
votre attention

-- 
--
mono-cecil

Reply via email to