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>2005-03-08 15:47:42 +0300
committerMarek Safar <marek.safar@gmail.com>2005-03-08 15:47:42 +0300
commit62fa0a39fb9c69fa0bcca42b1f8e99bd4fddde71 (patch)
tree2ea24d3c2b12db15b3682246041a1dc2d12d86e6 /mcs/errors/cs0428.cs
parent76584b8e4117858141aaad379071d33278ea3eb1 (diff)
parent439a11c23affba077cb480e497152f088ab32d1a (diff)
fixed wrong errors
update svn path=/trunk/mcs/; revision=41565
Diffstat (limited to 'mcs/errors/cs0428.cs')
-rw-r--r--mcs/errors/cs0428.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0428.cs b/mcs/errors/cs0428.cs
new file mode 100644
index 00000000000..30d1cc9fe44
--- /dev/null
+++ b/mcs/errors/cs0428.cs
@@ -0,0 +1,14 @@
+// cs0428.cs: Cannot convert method group 'a' to non-delegate type 'int'. Did you intend to invoke the method?
+// Line: 12
+
+class X {
+ int a (int a)
+ {
+ return 0;
+ }
+
+ void b ()
+ {
+ int x = a;
+ }
+}