Bugzilla – Bug 320225
[ANONYMOUS METHODS] (FIXED) Check test-anon-27.cs
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by miguel@ximian.com 2006-02-01 18:26:11 MST ---- Test mcs/tests/test-anon-27.cs is known to fail, this bug is to track the research on this particular bug. The problem with this bug is that the actual methods are not hosted on the right helper class, although the code that is generated assumes that it is. In the particular case of test-anon-27 the issue is that since the method itself does not capture any variables, the compiler places the method side-by-side the method that creates the anonymous method. The problem is that the method has one of its local variables captured, so it should be hosted inside the class that holds the helper local variable. ---- Additional Comments From martin@ximian.com 2006-09-08 10:54:15 MST ---- Fixed by the new code. ---- Additional Comments From martin@ximian.com 2006-10-04 18:19:17 MST ---- Fixed in SVN. Unknown operating system unknown. Setting to default OS "Other".