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:
Diffstat (limited to 'mcs/errors/cs1594.cs')
-rw-r--r--mcs/errors/cs1594.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/mcs/errors/cs1594.cs b/mcs/errors/cs1594.cs
deleted file mode 100644
index 0ffb3d9e761..00000000000
--- a/mcs/errors/cs1594.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-// cs1594.cs : Delegate 'Blah.MyDelegate' has some invalid arguments.
-// Line : 21
-
-using System;
-
-public class Blah {
-
- public delegate int MyDelegate (int i, int j);
-
- public int Foo (int i, int j)
- {
- return i+j;
- }
-
- public static int Main ()
- {
- Blah i = new Blah ();
-
- MyDelegate del = new MyDelegate (i.Foo);
-
- int number = del (2, "a string");
-
- if (number == 5)
- return 0;
- else
- return 1;
-
- }
-
-}