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/cs1676.cs
parent4181b234fdd380b3e013fc637bf7b356e35f34c4 (diff)
New errors, handled on the anonymous-methods branch
svn path=/trunk/mcs/; revision=22632
Diffstat (limited to 'mcs/errors/cs1676.cs')
-rw-r--r--mcs/errors/cs1676.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1676.cs b/mcs/errors/cs1676.cs
new file mode 100644
index 00000000000..ba2895d46ef
--- /dev/null
+++ b/mcs/errors/cs1676.cs
@@ -0,0 +1,13 @@
+// CS1676: Signature mismatch in parameter modifier for parameter #1
+// Line: 11
+//
+// The delegate has an explicit signature, so it can not be assigned.
+//
+delegate void D (ref int x);
+
+class X {
+ static void Main ()
+ {
+ D d2 = delegate (int x) {};
+ }
+}