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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2002-06-27 20:37:52 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2002-06-27 20:37:52 +0400
commit6d4a4bbcb5bfcafa8823b25578d6f7f56c4fdc65 (patch)
tree540667dcea64868328bbea29c9d526fe6e6a392b /mcs/errors/cs1501-3.cs
parent9deb8e37ab4af9081b944e1d0be5cbc19e132387 (diff)
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5480
Diffstat (limited to 'mcs/errors/cs1501-3.cs')
-rw-r--r--mcs/errors/cs1501-3.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs1501-3.cs b/mcs/errors/cs1501-3.cs
new file mode 100644
index 00000000000..e9a8573c826
--- /dev/null
+++ b/mcs/errors/cs1501-3.cs
@@ -0,0 +1,8 @@
+// CS1501: No overload for method 'X' takes '2' arguments
+public struct X {
+ public X(int i) { }
+
+ public static void Main() {
+ X x = new X("foo", "bar");
+ }
+}