[Mono-dev] System.Type GetMethod problem.

Arek Waliszewski arek at forcom.com.pl
Mon Aug 6 07:47:41 EDT 2007

 > Robert Jordan wrote:

 > > Arek Waliszewski wrote:
 > > On Microsoft .NET this program raises
 > > System.Reflection.AmbiguousMatchException, which is correct 
behavior IMHO.
 > >
 > > On Mono GetMethod returns 'public override void f(int i1, int i2, bool
 > > b)' from class B. It works as it was specified 
 > > flag.
 > >
 > > What do you think?

 > See my comment for http://bugzilla.ximian.com/show_bug.cgi?id=80344

I think that it is a different problem. In my case GetMethods() returns 
both 'f' methods (from base and derived classes) on mono and .Net. Only 
GetMethod("f") says that there are no ambiguities (but they are).


More information about the Mono-devel-list mailing list