Author: martin
Date: 2006-06-21 16:45:36 -0400 (Wed, 21 Jun 2006)
New Revision: 61917
Modified:
trunk/mcs/gmcs/ChangeLog
trunk/mcs/gmcs/codegen.cs
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/codegen.cs
Log:
2006-06-21 Martin Baulig <[EMAIL PROTECTED]>
* codegen.cs (CodeGen.Save): Moved the symbol file generation into
the `try'-block, so we also report CS0016 etc. there.
Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog 2006-06-21 20:45:14 UTC (rev 61916)
+++ trunk/mcs/gmcs/ChangeLog 2006-06-21 20:45:36 UTC (rev 61917)
@@ -1,5 +1,10 @@
2006-06-21 Martin Baulig <[EMAIL PROTECTED]>
+ * codegen.cs (CodeGen.Save): Moved the symbol file generation into
+ the `try'-block, so we also report CS0016 etc. there.
+
+2006-06-21 Martin Baulig <[EMAIL PROTECTED]>
+
* ecore.cs (FieldExpr.EmitAssign, FieldExpr.AddressOf): Correctly
handle SetAssigned() and SetMemberIsUsed() for generic types;
fixes #77545.
Modified: trunk/mcs/gmcs/codegen.cs
===================================================================
--- trunk/mcs/gmcs/codegen.cs 2006-06-21 20:45:14 UTC (rev 61916)
+++ trunk/mcs/gmcs/codegen.cs 2006-06-21 20:45:36 UTC (rev 61917)
@@ -169,6 +169,9 @@
{
try {
Assembly.Builder.Save (Basename (name));
+
+ if (SymbolWriter != null)
+ SymbolWriter.WriteSymbolFile ();
}
catch (COMException) {
if ((RootContext.StrongNameKeyFile == null) ||
(!RootContext.StrongNameDelaySign))
@@ -185,9 +188,6 @@
catch (System.UnauthorizedAccessException ua) {
Report.Error (16, "Could not write to file
`"+name+"', cause: " + ua.Message);
}
-
- if (SymbolWriter != null)
- SymbolWriter.WriteSymbolFile ();
}
}
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2006-06-21 20:45:14 UTC (rev 61916)
+++ trunk/mcs/mcs/ChangeLog 2006-06-21 20:45:36 UTC (rev 61917)
@@ -1,5 +1,10 @@
2006-06-21 Martin Baulig <[EMAIL PROTECTED]>
+ * codegen.cs (CodeGen.Save): Moved the symbol file generation into
+ the `try'-block, so we also report CS0016 etc. there.
+
+2006-06-21 Martin Baulig <[EMAIL PROTECTED]>
+
* delegate.cs
(Delegate.VerifyMethod): Allow `params' methods; fixes #78678.
Modified: trunk/mcs/mcs/codegen.cs
===================================================================
--- trunk/mcs/mcs/codegen.cs 2006-06-21 20:45:14 UTC (rev 61916)
+++ trunk/mcs/mcs/codegen.cs 2006-06-21 20:45:36 UTC (rev 61917)
@@ -165,6 +165,9 @@
{
try {
Assembly.Builder.Save (Basename (name));
+
+ if (SymbolWriter != null)
+ SymbolWriter.WriteSymbolFile ();
}
catch (COMException) {
if ((RootContext.StrongNameKeyFile == null) ||
(!RootContext.StrongNameDelaySign))
@@ -181,9 +184,6 @@
catch (System.UnauthorizedAccessException ua) {
Report.Error (16, "Could not write to file
`"+name+"', cause: " + ua.Message);
}
-
- if (SymbolWriter != null)
- SymbolWriter.WriteSymbolFile ();
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches