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-04-08 13:57:19 +0400
committerMarek Safar <marek.safar@gmail.com>2004-04-08 13:57:19 +0400
commit5e2b02ba99908fa1f1242a4804bec718864f00a9 (patch)
treece4e519671becd7d2b720023a1d9665f2f6222c8 /mcs/errors/cs1677.cs
parentc593396c2c6f8231b2143d374d6ba9f8f4dfd0ff (diff)
2004-04-08 Marek Safar <marek.safar@seznam.cz>
* cs1677.cs: Changed name from cs1667.cs svn path=/trunk/mcs/; revision=25213
Diffstat (limited to 'mcs/errors/cs1677.cs')
-rw-r--r--mcs/errors/cs1677.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1677.cs b/mcs/errors/cs1677.cs
new file mode 100644
index 00000000000..90b8b3ef85d
--- /dev/null
+++ b/mcs/errors/cs1677.cs
@@ -0,0 +1,13 @@
+// cs1677: out parameters are not permitted on anonymous delegate declarations.
+// Line: 11
+//
+// The delegate has an explicit signature, so it can not be assigned.
+//
+delegate void D (int x);
+
+class X {
+ static void Main ()
+ {
+ D d2 = delegate (out int x) {};
+ }
+}