[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] Predictate delegate ms.net imcompability
From:       Paolo Molaro <lupus () ximian ! com>
Date:       2007-09-28 14:21:10
Message-ID: 20070928142110.GC25385 () debian ! org
[Download RAW message or body]

On 09/27/07 Onur Gumus wrote:
> When I use a predicate delegate like
> 
> myList.Find(delegate(MyItem item) { return (item.Id == 4);});   and compile
> it on mono / linux, porting to windows ms.net gives me a method access
> exception for the method this statment is in.

You need to recompile the program with a newer mcs/gmcs: it had a bug
that has been fixed in svn.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic