[Mono-dev] Predictate delegate ms.net imcompability
    Paolo Molaro 
    lupus at ximian.com
       
    Fri Sep 28 10:21:10 EDT 2007
    
    
  
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 at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better
    
    
More information about the Mono-devel-list
mailing list