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>2004-07-09 23:15:52 +0400
committerMiguel de Icaza <miguel@gnome.org>2004-07-09 23:15:52 +0400
commitaec32df817b8a5af83ad1641797da1779449c22f (patch)
tree1f614ece28968e8bd4c6d7f2d5369365f6e25224 /mcs/errors/cs1612.cs
parentf45547598130b15dedd0f43eada5134de95bf2b6 (diff)
New errors
svn path=/trunk/mcs/; revision=30964
Diffstat (limited to 'mcs/errors/cs1612.cs')
-rw-r--r--mcs/errors/cs1612.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/errors/cs1612.cs b/mcs/errors/cs1612.cs
new file mode 100644
index 00000000000..bdcd9b6c4a5
--- /dev/null
+++ b/mcs/errors/cs1612.cs
@@ -0,0 +1,22 @@
+using System;
+class X {
+ static void Main ()
+ {
+
+ P.x += 10;
+ Console.WriteLine ("Got: " + P.x);
+ }
+
+ static G P {
+ get {
+ return g;
+ }
+ }
+
+ static G g = new G ();
+
+ struct G {
+ public int x;
+ }
+}
+