diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-07-09 23:15:52 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-07-09 23:15:52 +0400 |
commit | aec32df817b8a5af83ad1641797da1779449c22f (patch) | |
tree | 1f614ece28968e8bd4c6d7f2d5369365f6e25224 /mcs/errors/cs1612.cs | |
parent | f45547598130b15dedd0f43eada5134de95bf2b6 (diff) |
New errors
svn path=/trunk/mcs/; revision=30964
Diffstat (limited to 'mcs/errors/cs1612.cs')
-rw-r--r-- | mcs/errors/cs1612.cs | 22 |
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; + } +} + |