Author: miguel
Date: 2006-10-18 23:08:35 -0400 (Wed, 18 Oct 2006)
New Revision: 66811
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/anonymous.cs
Log:
On behalf of Martin: 2006-10-18 Martin Baulig <[EMAIL PROTECTED]>
* anonymous.cs: Propagate the IsStatic state, fixes the crasher in
banshee.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2006-10-19 03:00:48 UTC (rev 66810)
+++ trunk/mcs/mcs/ChangeLog 2006-10-19 03:08:35 UTC (rev 66811)
@@ -1,3 +1,7 @@
+2006-10-18 Martin Baulig <[EMAIL PROTECTED]>
+
+ * anonymous.cs: Propagate the IsStatic state, fixes the crasher in
banshee.
+
2006-10-17 Miguel de Icaza <[EMAIL PROTECTED]>
* convert.cs: Fix typo, fixes the test-535.cs, we were casting to
Modified: trunk/mcs/mcs/anonymous.cs
===================================================================
--- trunk/mcs/mcs/anonymous.cs 2006-10-19 03:00:48 UTC (rev 66810)
+++ trunk/mcs/mcs/anonymous.cs 2006-10-19 03:08:35 UTC (rev 66811)
@@ -1232,6 +1232,7 @@
aec.CurrentAnonymousMethod = this;
aec.IsFieldInitializer = ec.IsFieldInitializer;
+ aec.IsStatic = ec.IsStatic;
Report.Debug (64, "RESOLVE ANONYMOUS METHOD #1", this,
Location, ec, aec,
RootScope, Parameters, Block);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches