Permalink
Browse files

On behalf of Martin: 2006-10-18 Martin Baulig <martin@ximian.com>

       * anonymous.cs: Propagate the IsStatic state, fixes the crasher in banshee.

svn path=/branches/mono-1-1-18/mcs/; revision=66812
  • Loading branch information...
1 parent c83bb07 commit 2b027d914146f205e6ed30a88e7d6b66038e2e23 @migueldeicaza migueldeicaza committed Oct 19, 2006
Showing with 5 additions and 0 deletions.
  1. +4 −0 mcs/mcs/ChangeLog
  2. +1 −0 mcs/mcs/anonymous.cs
View
@@ -1,3 +1,7 @@
+2006-10-18 Martin Baulig <martin@ximian.com>
+
+ * anonymous.cs: Propagate the IsStatic state, fixes the crasher in banshee.
+
2006-10-12 Martin Baulig <martin@ximian.com>
* anonymous.cs
View
@@ -1232,6 +1232,7 @@ public virtual bool Resolve (EmitContext ec)
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);

0 comments on commit 2b027d9

Please sign in to comment.