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:
authorMiguel de Icaza <miguel@gnome.org>2004-01-17 00:04:07 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-01-17 00:04:07 +0300
commit6ea308f08750e55451405399d0dbfbd15713d5eb (patch)
tree7d63775f295ee21e19183e1d344bd73a7d652277 /mcs/errors/cs0428.cs
parent78ba223f98429a2dacaca5ebd0fbe71aa23793fe (diff)
Add new error
svn path=/trunk/mcs/; revision=22191
Diffstat (limited to 'mcs/errors/cs0428.cs')
-rw-r--r--mcs/errors/cs0428.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0428.cs b/mcs/errors/cs0428.cs
new file mode 100644
index 00000000000..b80e783ecca
--- /dev/null
+++ b/mcs/errors/cs0428.cs
@@ -0,0 +1,12 @@
+// cs0428.cs: Can not convert method group to type X, since type is not a delegate
+// Line: 9
+class X {
+ static void Method ()
+ {
+ }
+
+ static void Main ()
+ {
+ object o = Method;
+ }
+}