disable the building of mjs while I solve the problem with the unexposed ctr of Context
[mono.git] / mcs / mcs / ChangeLog
index 712a58d66f5f3c0af9d3b4e73d835f1f765e87e3..774ddaffcc1449f541e39c585265d3853fbc5bc0 100644 (file)
@@ -1,5 +1,27 @@
 2005-02-11  Miguel de Icaza  <miguel@novell.com>
 
+       * codegen.cs (EmitContext): Introduce the `MethodIsStatic'
+       variable.  This one is represents the actual low-level declaration
+       of the method, as opposed to the semantic level `IsStatic'.   
+
+       An anonymous method which is hosted into a static method might be
+       actually an instance method.  IsStatic would reflect the
+       container, while MethodIsStatic represents the actual code
+       generated.
+
+       * expression.cs (ParameterReference): Use the new MethodIsStatic
+       instead of IsStatic.
+
+       * anonymous.cs (AnonymousMethod.Compatible): Pass the
+       Modifiers.STATIC to the Anonymous' Method EmitContext if static is
+       set on the current EmitContext. 
+
+       * expression.cs (Cast): Overload DoResolveLValue so we can pass
+       resolve our casted expression as an LValue.  This triggers the
+       proper LValue processing that is later required by Assign.
+
+       This fixes 72347.
+
        * cs-tokenizer.cs (pp_and): recurse on pp_and, fixes #61903.
 
 2005-02-11  Marek Safar  <marek.safar@seznam.cz>