projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ba223
)
Add new error
author
Miguel de Icaza
<miguel@gnome.org>
Fri, 16 Jan 2004 21:04:07 +0000
(21:04 -0000)
committer
Miguel 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]
patch
|
blob
diff --git a/mcs/errors/cs0428.cs
b/mcs/errors/cs0428.cs
new file mode 100644
(file)
index 0000000..
b80e783
--- /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;
+ }
+}