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>2004-01-31 06:49:52 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-01-31 06:49:52 +0300
commit573cf138eec58c61859a0778bec9d3fb59771fa5 (patch)
treea111d69ea0dd2c72102e1095c95a6d33346e4947 /mcs/errors/cs1678.cs
parent4181b234fdd380b3e013fc637bf7b356e35f34c4 (diff)
New errors, handled on the anonymous-methods branch
svn path=/trunk/mcs/; revision=22632
Diffstat (limited to 'mcs/errors/cs1678.cs')
-rw-r--r--mcs/errors/cs1678.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1678.cs b/mcs/errors/cs1678.cs
new file mode 100644
index 00000000000..4e26e76516d
--- /dev/null
+++ b/mcs/errors/cs1678.cs
@@ -0,0 +1,13 @@
+// cs1678: signature missmatch on type parameter.
+// Line: 11
+//
+// Signature mismatch.
+//
+delegate void D (int x);
+
+class X {
+ static void Main ()
+ {
+ D d2 = delegate (long x) {};
+ }
+}