Add new error
authorMiguel de Icaza <miguel@gnome.org>
Fri, 16 Jan 2004 21:04:07 +0000 (21:04 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 16 Jan 2004 21:04:07 +0000 (21:04 -0000)
svn path=/trunk/mcs/; revision=22191

mcs/errors/cs0428.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0428.cs b/mcs/errors/cs0428.cs
new file mode 100644 (file)
index 0000000..b80e783
--- /dev/null
@@ -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;
+       }
+}