Author: marek
Date: 2007-09-05 07:18:06 -0400 (Wed, 05 Sep 2007)
New Revision: 85347

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/ecore.cs
Log:
2007-09-05  Marek Safar  <[EMAIL PROTECTED]>

        A fix for bug #82690
        * ecore.cs (PropertyExpr.EmitAssign): Leave a copy does just that.
        


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-09-05 11:11:12 UTC (rev 85346)
+++ trunk/mcs/mcs/ChangeLog     2007-09-05 11:18:06 UTC (rev 85347)
@@ -1,5 +1,10 @@
 2007-09-05  Marek Safar  <[EMAIL PROTECTED]>
 
+       A fix for bug #82690
+       * ecore.cs (PropertyExpr.EmitAssign): Leave a copy does just that.
+       
+2007-09-05  Marek Safar  <[EMAIL PROTECTED]>
+
        A fix for bug #82571
        * anonymous.cs (AnonymousMethod.DoCreateMethodHost): Use internal 
        modifier for container based methods.

Modified: trunk/mcs/mcs/ecore.cs
===================================================================
--- trunk/mcs/mcs/ecore.cs      2007-09-05 11:11:12 UTC (rev 85346)
+++ trunk/mcs/mcs/ecore.cs      2007-09-05 11:18:06 UTC (rev 85347)
@@ -4857,10 +4857,8 @@
                                }
                        } else if (leave_copy) {
                                source.Emit (ec);
-                               if (!is_static) {
-                                       temp = new LocalTemporary (this.Type);
-                                       temp.Store (ec);
-                               }
+                               temp = new LocalTemporary (this.Type);
+                               temp.Store (ec);
                                my_source = temp;
                        }
                        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to