Author: marek
Date: 2007-07-13 10:13:06 -0400 (Fri, 13 Jul 2007)
New Revision: 81946

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

        * ecore.cs (FieldExpr.AddressOf): Less confusing warning message.



Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-07-13 13:49:48 UTC (rev 81945)
+++ trunk/mcs/mcs/ChangeLog     2007-07-13 14:13:06 UTC (rev 81946)
@@ -1,5 +1,9 @@
 2007-07-13  Marek Safar  <[EMAIL PROTECTED]>
 
+       * ecore.cs (FieldExpr.AddressOf): Less confusing warning message.
+       
+2007-07-13  Marek Safar  <[EMAIL PROTECTED]>
+
        * anonymous.cs (AnonymousMethodExpression): Parameters are r/o.
        (AnonymousContainer.ResolveNoDefine): Another ec to aec flag conversion.
        

Modified: trunk/mcs/mcs/ecore.cs
===================================================================
--- trunk/mcs/mcs/ecore.cs      2007-07-13 13:49:48 UTC (rev 81945)
+++ trunk/mcs/mcs/ecore.cs      2007-07-13 14:13:06 UTC (rev 81946)
@@ -4370,7 +4370,7 @@
                        FieldBase f = TypeManager.GetField (FieldInfo);
                        if (f != null){
                                if ((f.ModFlags & Modifiers.VOLATILE) != 0){
-                                       Report.Warning (420, 1, loc, "`{0}': A 
volatile fields passed using a ref or out parameter might be problematic: 
routine does not know about volatile",
+                                       Report.Warning (420, 1, loc, "`{0}': A 
volatile field references will not be treated as volatile", 
                                                        f.GetSignatureForError 
());
                                }
                                        

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

Reply via email to