Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-10-19 07:09:35 +0400
committerMiguel de Icaza <miguel@gnome.org>2006-10-19 07:09:35 +0400
commit2b027d914146f205e6ed30a88e7d6b66038e2e23 (patch)
tree67d9fbe9366e074932ad03977e030d48976b3a44
parentc83bb070672f0eb14b38b0f97a4cb938154982d1 (diff)
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
-rw-r--r--mcs/mcs/ChangeLog4
-rw-r--r--mcs/mcs/anonymous.cs1
2 files changed, 5 insertions, 0 deletions
diff --git a/mcs/mcs/ChangeLog b/mcs/mcs/ChangeLog
index 91561ee362b..35fe80ef484 100644
--- a/mcs/mcs/ChangeLog
+++ b/mcs/mcs/ChangeLog
@@ -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
diff --git a/mcs/mcs/anonymous.cs b/mcs/mcs/anonymous.cs
index 89bc65cf9f6..f2516958a4a 100644
--- a/mcs/mcs/anonymous.cs
+++ b/mcs/mcs/anonymous.cs
@@ -1232,6 +1232,7 @@ namespace Mono.CSharp {
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);