Author: miguel
Date: 2007-07-12 19:25:39 -0400 (Thu, 12 Jul 2007)
New Revision: 81916
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/ecore.cs
Log:
2007-07-12 Miguel de Icaza <[EMAIL PROTECTED]>
* ecore.cs (FieldExpr.AddressOf): Do not stop processing here,
report the warning and continue
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2007-07-12 23:24:40 UTC (rev 81915)
+++ trunk/mcs/mcs/ChangeLog 2007-07-12 23:25:39 UTC (rev 81916)
@@ -1,5 +1,8 @@
2007-07-12 Miguel de Icaza <[EMAIL PROTECTED]>
+ * ecore.cs (FieldExpr.AddressOf): Do not stop processing here,
+ report the warning and continue
+
* statement.cs (Using.EmitLocalVariableDecls): We were leaving
values on the stack on the call to Emit. Use EmitStatement if
possible, or using Emit + Pop if not possible. Fixes #82064
Modified: trunk/mcs/mcs/ecore.cs
===================================================================
--- trunk/mcs/mcs/ecore.cs 2007-07-12 23:24:40 UTC (rev 81915)
+++ trunk/mcs/mcs/ecore.cs 2007-07-12 23:25:39 UTC (rev 81916)
@@ -4365,9 +4365,8 @@
FieldBase f = TypeManager.GetField (FieldInfo);
if (f != null){
if ((f.ModFlags & Modifiers.VOLATILE) != 0){
- Report.Warning (420, 1, loc, "`{0}': A
volatile fields cannot be passed using a ref or out parameter",
+ 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",
f.GetSignatureForError
());
- return;
}
if ((mode & AddressOp.Store) != 0)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches