Author: marek
Date: 2007-02-25 16:57:02 -0500 (Sun, 25 Feb 2007)
New Revision: 73415

Added:
   trunk/mcs/errors/cs0626-6.cs
Modified:
   trunk/mcs/errors/cs0647-12.cs
   trunk/mcs/errors/cs0647-13.cs
Log:
New test and updates.

Added: trunk/mcs/errors/cs0626-6.cs
===================================================================
--- trunk/mcs/errors/cs0626-6.cs        2007-02-25 21:55:26 UTC (rev 73414)
+++ trunk/mcs/errors/cs0626-6.cs        2007-02-25 21:57:02 UTC (rev 73415)
@@ -0,0 +1,11 @@
+// CS0626: `C.this[int]' is marked as an external but has no DllImport 
attribute. Consider adding a DllImport attribute to specify the external 
implementation
+// Line: 7
+// Compiler options: -warnaserror -warn:1
+
+class C
+{
+       public extern char this[int index]
+       {
+               get;
+       }
+}
\ No newline at end of file


Property changes on: trunk/mcs/errors/cs0626-6.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/mcs/errors/cs0647-12.cs
===================================================================
--- trunk/mcs/errors/cs0647-12.cs       2007-02-25 21:55:26 UTC (rev 73414)
+++ trunk/mcs/errors/cs0647-12.cs       2007-02-25 21:57:02 UTC (rev 73415)
@@ -1,4 +1,4 @@
-// cs0647-12.cs: Error during emitting 
`System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is 
`Empty name is not legal
+// CS0647: Error during emitting 
`System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is 
`DllName cannot be empty'
 // Line: 8
 
 using System.Runtime.InteropServices;

Modified: trunk/mcs/errors/cs0647-13.cs
===================================================================
--- trunk/mcs/errors/cs0647-13.cs       2007-02-25 21:55:26 UTC (rev 73414)
+++ trunk/mcs/errors/cs0647-13.cs       2007-02-25 21:57:02 UTC (rev 73415)
@@ -1,4 +1,4 @@
-// cs0647-13.cs: Error during emitting 
`System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is 
`Argument cannot be null
+// CS0647: Error during emitting 
`System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is 
`DllName cannot be empty'
 // Line: 8
 
 using System.Runtime.InteropServices;

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

Reply via email to