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=80749 --- shadow/80749 2007-02-11 19:47:48.000000000 -0500 +++ shadow/80749.tmp.2821 2007-02-12 05:09:13.000000000 -0500 @@ -226,6 +226,18 @@ /home/cvs/mcs/mcs/driver.cs:292 ------- Additional Comments From [EMAIL PROTECTED] 2007-02-11 16:31 ------- It looks like the combination of 2 pairs of 2 partial classes corrupts the resolving context. I will try to create smaller repro. + +------- Additional Comments From [EMAIL PROTECTED] 2007-02-12 05:09 ------- +I think it's more to do with field initializers in a partial class. I +think the culprit is the + + EmitContext ec = new EmitContext (this, this, Location, null, null, +ModFlags); + +in DefineFieldInitializer(). It should use resolve contexts based on +Field or Field.Parent. Otherwise, the resolve context will be based +on the first partial part. + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
