Good catch! Maybe submit a PR to the TypeMapStep? Jb
On Sun, Jun 29, 2014 at 10:54 PM, grokoder <[email protected]> wrote: > I'm afraid this code is far from working correctly. For instance: > > public interface Foo > { > void Method1(); > } > > public class Class1 > { > public void Method1() > { > Console.WriteLine("Class1.Method1"); > } > } > > public class Class2 : Class1, Foo > { > public static void Test() > { > Foo tmp = new Class2(); > tmp.Method1(); > > } > } > > > On Friday, January 3, 2014 7:03:56 AM UTC-6, Jb Evain wrote: >> >> Hi, >> >> It's not trivial, you can see how we do it in the linker: >> >> >> https://github.com/mono/mono/blob/master/mcs/tools/linker/Mono.Linker.Steps/TypeMapStep.cs >> >> Best regards, >> Jb >> >> On Sat, Dec 28, 2013 at 1:12 PM, AndreiF <[email protected]> wrote: >> > How do I find a reference to the base method, when I have a reference to >> > the >> > virtual override method? >> > >> > -- >> > -- >> > -- >> > mono-cecil >> > --- >> > You received this message because you are subscribed to the Google >> > Groups >> > "mono-cecil" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > For more options, visit https://groups.google.com/groups/opt_out. > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
