diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-04-29 14:50:23 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-04-29 14:50:23 +0400 |
commit | 6a329d951df135123647116d34b97e2e9e1d7f19 (patch) | |
tree | 21d303c5040489adec841779980fdfb4c766c2d3 /mcs/errors/cs1501-5.cs | |
parent | 9d302f3280110226d15be5cbc39b679649056f1d (diff) |
2004-04-29 Marek Safar <marek.safar@seznam.cz>
* cs-11.cs: Renamed to cs1501-5.cs.
svn path=/trunk/mcs/; revision=26290
Diffstat (limited to 'mcs/errors/cs1501-5.cs')
-rw-r--r-- | mcs/errors/cs1501-5.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs1501-5.cs b/mcs/errors/cs1501-5.cs new file mode 100644 index 00000000000..f84ef83627c --- /dev/null +++ b/mcs/errors/cs1501-5.cs @@ -0,0 +1,20 @@ +// cs1501.cs : No overload for method `MyDelegate' takes `0' arguments +// Line : 17 + +public class Blah { + + public delegate int MyDelegate (int i, int j); + + public int Foo (int i, int j) + { + return i+j; + } + + public static void Main () + { + Blah i = new Blah (); + + MyDelegate del = new MyDelegate (); + } +} + |