Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77440 --- shadow/77440 2006-02-01 18:26:11.000000000 -0500 +++ shadow/77440.tmp.13109 2006-02-01 18:26:11.000000000 -0500 @@ -0,0 +1,30 @@ +Bug#: 77440 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Anonymous methods are hosted on the wrong ScopeInfo + +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
