[Mono-bugs] [Bug 442122] Better handling of read-only method variables which appear in closures.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 6 04:41:59 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=442122

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=442122#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |msafar at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WONTFIX




--- Comment #1 from Marek Safar <msafar at novell.com>  2008-11-06 02:41:58 MST ---
I am not sure I got it right but it seems to me this is not possible.

(() => i != 5) is converted to a new method and i has to be accessible inside
the method therefore has to be captured. And I cannot change the method
signature either as that would violate delegate match.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list