Hiya JB
So I will have to do the walks manually to figure out which interface a
method is implementing?
I cans see this as being very easy for an interface like.
public interface Foo {
void Bar();
}
class A : Foo {
public void Bar() { }
}
but this would seem to get quite complex when dealing with some scenarios.
If I go through and write this (which it seems I have to) would it be useful
to push it back up for Cecil.Rocks?
On Mon, Oct 25, 2010 at 10:59 AM, Jb Evain <[email protected]> wrote:
> Hi,
>
> On Mon, Oct 25, 2010 at 4:45 PM, Greg Young <[email protected]>
> wrote:
> > I have a MethodDefinition. I am trying to figure out what if any
> interfaces
> > on the type this method is implementing.
>
> If the method is implicitly implementing an interface, the issue is
> that, well it's implicit. We don't have any helper currently to deal
> with those. You can have a look at how the linker maps relations
> between interfaces and methods:
>
>
> http://github.com/mono/mono/blob/master/mcs/tools/linker/Mono.Linker.Steps/TypeMapStep.cs
>
> --
> Jb Evain <[email protected]>
>
> --
> --
> mono-cecil
--
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
votre attention
--
--
mono-cecil