2006-04-28 Marek Safar <marek.safar@seznam.cz>
[mono.git] / mcs / gmcs / ChangeLog
index 29d7d0e8fab88d505333d49469c126d88631825e..d2debc4744cad9b95bf89dc622f70c2a1843982f 100644 (file)
@@ -1,5 +1,79 @@
+2006-04-28  Marek Safar  <marek.safar@seznam.cz>
+
+       A fix for #78049
+       *class.cs (Method.FindOutBaseMethod): Base method cannot be property method.
+
+2006-04-28  Raja R Harinath  <harinath@gmail.com>
+
+       * flowanalysis.cs (FlowBranching.MergeTopBlock): Don't create a
+       dummy UsageVector.
+
+       * flowanalysis.cs (UsageVector.MergeChild): Change FlowBranching
+       argument to two arguments: an usage-vector and a bool.  Move call
+       to FlowBranching.Merge () ...
+       (FlowBranching.MergeChild, FlowBranching.MergeTopBlock): ... here.
+
+       * flowanalysis.cs (UsageVector.MergeChild): Move special-case
+       handling of loop and switch reachability to ...
+       (FlowBranchingLoop.Merge, FlowBranchingSwitch.Merge): ... these.
+
+2006-04-27  Raja R Harinath  <harinath@gmail.com>
+
+       * flowanalysis.cs (FlowBranching.InLoop): Move special-case
+       handling to FlowBranchingLoop.InLoop.
+       (FlowBranching.InSwitch): Likewise, to FlowBranchingSwitch.
+
+2006-04-26  Marek Safar  <marek.safar@seznam.cz>
+
+       A fix for #78115
+       anonymous.cs.cs (AnonymousMethod.DoResolve): Moved the check whether
+       anonymous method  is allowed from AnonymousContainer here.
+
+       * attribute.cs, codegen.cs (EmitContext): Add IsAnonymousMethodAllowed.
+
+2006-04-24  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #78156
+       * flowanalysis.cs (MyBitVector.Or): Add null check on argument.
+
+2006-04-23  Marek Safar  <marek.safar@seznam.cz>
+
+       A fix for #49011.
+       constant.cs (FloatConstant.Reduce): Add range checking for checked context.
+       (DoubleConstant.Reduce): Ditto.
+
+2006-04-23  Raja R Harinath  <rharinath@novell.com>
+
+       * expression.cs (LocalVariableReference.DoResolveBase): Simplify.
+       Remove 'lvalue_right_side' argument.  Move parts to ...
+       (LocalVariableReference.ResolveLocalInfo, LocalVariable.DoResolve)
+       (LocalVariable.DoResolveLValue): ... these.
+
+2006-04-21  Raja R Harinath  <rharinath@novell.com>
+
+       Fix cs1655.cs
+       * codegen.cs (EmitContext.InRefOutArgumentResolving): Remove.
+       * expression.cs (EmptyExpression.LValueMemberOutAccess): New.
+       (LocalVariableReference.DoResolveBase): Use it to implement new
+       CS1655 check.
+       (IndexerAccess.DoResolveLValue): Handle LValueMemberOutAccess.
+       (Argument.Resolve): Simplify.  Move CS1510 check ...
+       * ecore.cs (Expression.ResolveLValue): ... here.
+       (UnboxCast.DoResolveLValue): Handle LValueMemberOutAccess.
+       (PropertyExpr.DoResolveLValue): Likewise.
+       (FieldExpr.Report_AssignToReadonly): Likewise.
+       (FieldExpr.DoResolve): Add 'out_access' argument.  Use
+       LValueMemberAccess or LValueMemberOutAccess on instance depending
+       on it.
+       (FieldExpr.DoResolveLValue): Pass 'out_access' argument to
+       DoResolve as appropriate.
+
 2006-04-20  Raja R Harinath  <rharinath@novell.com>
 
+       Fix #75800
+       * expression.cs (Invocation.VerifyArgumentsCompat): Don't try
+       implicit conversions on 'out' and 'ref' arguments.
+
        * expression.cs (Invocation.VerifyArgumentsCompat): Reorganize to
        improve clarity.  Remove dead code.