hmm.
I am already searching for base methods (I am trying to walk down). I was
hoping hasoverrides works so I could tell the difference between a shadowed
method and a base method
public class A {
public void Foo() { }
}
public class B {
public void Foo() { }
}
vs
public class A {
public virtual void Foo() { }
}
public class B {
public override void Foo() { }
}
but I guess I could just look if A::Foo is virtual. Not sure if that is good
enough, will have to check ECMA docs.
On Tue, Oct 26, 2010 at 3:38 PM, Jb Evain <[email protected]> wrote:
> On Tue, Oct 26, 2010 at 9:25 PM, Greg Young <[email protected]>
> wrote:
> > The The MethodDefinition::HasOverrides for Base::Test says it has no
> > overrides?
>
> Overrides is used exclusively for cases where the base method can't be
> implicitely discovered. (C#'s explicit interface implementation for
> instance).
>
> You can use the GetBaseMethod extension method to navigate implicitly
> overriden methods.
>
> --
> --
> mono-cecil
--
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
votre attention
--
--
mono-cecil