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>2001-06-08 22:45:34 +0400
committerMiguel de Icaza <miguel@gnome.org>2001-06-08 22:45:34 +0400
commit773a66abc5e63cc1d2f111daeaa2848891dc8f61 (patch)
tree94b8548e3b0efd4c276a7cc66d783c1cbf0b5038 /mcs/errors/cs0120.cs
Initial revisionINITIAL_IMPORT
svn path=/trunk/mcs/; revision=2
Diffstat (limited to 'mcs/errors/cs0120.cs')
-rwxr-xr-xmcs/errors/cs0120.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0120.cs b/mcs/errors/cs0120.cs
new file mode 100755
index 00000000000..817b2d5ea35
--- /dev/null
+++ b/mcs/errors/cs0120.cs
@@ -0,0 +1,15 @@
+// cs0120: Ie, a static method invoking a non-static method
+// `An object reference is required for the nonstatic field, method or property test.method()
+// Line: 11
+
+class test {
+
+ void method ()
+ {
+ }
+
+ public static int Main (string [] args){
+ method ();
+ return 1;
+ }
+}