[Mono-list] System.Delegate bugs and fix

Paolo Molaro lupus@ximian.com
Tue, 27 Aug 2002 17:33:08 +0200


On 08/27/02 Nick wrote:
> System.Delegate::CreateDelegate methods that take a method name as a
> string argument were using System.Type::GetMethod(string, BindingFlags)
> for method lookups, resulting in incorrect behavior when looking up
> overloaded methods.
> 
> System.Delegate::CreateDelegate (Type,object,string,bool) was ignoring
> the bool flag.

+                       BindingFlags flags = BindingFlags.Public | BindingFlags.Static;

Why doesn't this include BindingFlags.Public?
The rest looks ok.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better