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:
authorMiguel de Icaza <miguel@gnome.org>2003-01-07 23:40:17 +0300
committerMiguel de Icaza <miguel@gnome.org>2003-01-07 23:40:17 +0300
commitba145fa7036aaaf9f6065f00187e58e8cce7c6ef (patch)
treea94913a5bc9309f846ef00b865ecb724723b656e /mcs/errors/cs0514.cs
parent08296f179d4c1e81c54308110892475e195419ce (diff)
Add new error
svn path=/trunk/mcs/; revision=10258
Diffstat (limited to 'mcs/errors/cs0514.cs')
-rw-r--r--mcs/errors/cs0514.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0514.cs b/mcs/errors/cs0514.cs
new file mode 100644
index 00000000000..054054c5855
--- /dev/null
+++ b/mcs/errors/cs0514.cs
@@ -0,0 +1,9 @@
+// cs0514: Static constructor can not have arguments
+// Line: 4
+class X {
+ static X (int a)
+ {
+ }
+
+ static void Main () {}
+}