Hi Ulrich, This one is actually easy :)
You'll see all the interface methods the method explicitly implements in the .Overrides collection of the method. Jb On Fri, May 30, 2014 at 9:22 AM, Ulrich <[email protected]> wrote: > ... without resolving a type reference. > > bool IsExplicitInterfaceImplementation(MethodDefinition method) > { > //return method.IsPrivate && method.IsFinal && method.IsVirtual; > //return method.HasOverrides; > //return method.Name.Contains("."); > } > > All these variants are heuristics and work for the current C# compiler, but > may not work for other ones. > Which is the best one? Should I use a combination of heuristics? Any > alternative ideas? > > -- > -- > -- > 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.
