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:
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..86747c11ae8
--- /dev/null
+++ b/mcs/errors/cs0514.cs
@@ -0,0 +1,9 @@
+// cs0514: Static constructor can not have arguments
+// Line: 4
+class X {
+ static X () : base ()
+ {
+ }
+
+ static void Main () {}
+}