Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-05-25 12:35:08 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-25 12:35:08 +0400
commit8a6749f11e18dd855410f6d3d2b4e424a8f1a27d (patch)
tree4007c44973f7b64c64cb32f986ad6b5d322e9c0e /mcs/errors/cs0626-4.cs
parent8db1637866d2256c6b7d1daca0777b8c23bbc50f (diff)
New tests
svn path=/trunk/mcs/; revision=28027
Diffstat (limited to 'mcs/errors/cs0626-4.cs')
-rw-r--r--mcs/errors/cs0626-4.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs0626-4.cs b/mcs/errors/cs0626-4.cs
new file mode 100644
index 00000000000..007a588b12a
--- /dev/null
+++ b/mcs/errors/cs0626-4.cs
@@ -0,0 +1,8 @@
+// cs0626.cs: Method, operator, or accessor 'ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
+// Line: 6
+// Compiler options: -warnaserror -warn:1
+
+class ExternClass {
+ [System.Obsolete]
+ public static extern void ExternMethod();
+}