projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dedf7
)
New test.
author
Martin Baulig
<martin@novell.com>
Tue, 25 May 2004 20:18:25 +0000
(20:18 -0000)
committer
Martin Baulig
<martin@novell.com>
Tue, 25 May 2004 20:18:25 +0000
(20:18 -0000)
svn path=/trunk/mcs/; revision=28079
mcs/errors/cs0176-2.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/errors/cs0176-2.cs
b/mcs/errors/cs0176-2.cs
new file mode 100644
(file)
index 0000000..
ec60058
--- /dev/null
+++ b/
mcs/errors/cs0176-2.cs
@@ -0,0
+1,19
@@
+// CS0176: Static member `Start' cannot be accessed with an instance reference, qualify with a type name instead
+// Line: 10
+using System;
+
+class TestIt
+{
+ public static void Main()
+ {
+ MyClass p = new MyClass();
+ p.Start ("hi");
+ }
+}
+
+class MyClass
+{
+ public static void Start (string info)
+ {
+ }
+}