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:
authorMarek Safar <marek.safar@gmail.com>2004-08-04 18:04:42 +0400
committerMarek Safar <marek.safar@gmail.com>2004-08-04 18:04:42 +0400
commit6094dea7afd28e2ce215fbae4fcd40fc6ecf231f (patch)
tree5ed583d0eebeb371999b84a2a4f21eb4afc36fba /mcs/errors/cs0119.cs
parentbabecb6d8bc9a7ba57c56e7cb072a53c5ee393e0 (diff)
2004-08-04 Marek Safar <marek.safar@seznam.cz>
* 62 new error tests. svn path=/trunk/mcs/; revision=31867
Diffstat (limited to 'mcs/errors/cs0119.cs')
-rw-r--r--mcs/errors/cs0119.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0119.cs b/mcs/errors/cs0119.cs
new file mode 100644
index 00000000000..21b8fb88ef7
--- /dev/null
+++ b/mcs/errors/cs0119.cs
@@ -0,0 +1,16 @@
+// cs0119.cs: 'Test.E()' is a 'method', which is not valid in the given context
+// Line: 14
+
+using System;
+
+public class Test
+{
+ public static void E ()
+ {
+ }
+
+ public static void Main ()
+ {
+ Console.WriteLine(E.x);
+ }
+}