diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-01-31 06:49:52 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-01-31 06:49:52 +0300 |
commit | 573cf138eec58c61859a0778bec9d3fb59771fa5 (patch) | |
tree | a111d69ea0dd2c72102e1095c95a6d33346e4947 /mcs/errors/cs1676.cs | |
parent | 4181b234fdd380b3e013fc637bf7b356e35f34c4 (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.cs | 13 |
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) {}; + } +} |