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>2005-01-14 03:35:33 +0300
committerMiguel de Icaza <miguel@gnome.org>2005-01-14 03:35:33 +0300
commit9a6ee4aa01a90f4f94c078fadf25afe101fbe0fc (patch)
tree47b4eaf09a8a8ba2694ad9dabc049ed9343d8640 /mcs/errors/cs0122-9.cs
parent143451ff330dabafaada9d0c0a695065766d91b0 (diff)
Add new error
svn path=/trunk/mcs/; revision=38909
Diffstat (limited to 'mcs/errors/cs0122-9.cs')
-rw-r--r--mcs/errors/cs0122-9.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/errors/cs0122-9.cs b/mcs/errors/cs0122-9.cs
new file mode 100644
index 00000000000..76febf7f40e
--- /dev/null
+++ b/mcs/errors/cs0122-9.cs
@@ -0,0 +1,23 @@
+public class X {
+ private int a {
+ get {
+ return 1;
+ }
+ }
+}
+
+internal class Y : X {
+
+ int D (X x)
+ {
+ if (x.a == 2)
+ return 0;
+ return 0;
+ }
+
+ static void Main ()
+ {
+ }
+}
+
+