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>2002-10-31 23:47:49 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-10-31 23:47:49 +0300
commit033ff60aa8a0c4ba4b8f29699a17c5a2ffa0aa33 (patch)
treeb01fe7bc71a2d503bc48f871ae2ecaa7048b4a5b /mcs/errors/cs0205-2.cs
parentba4798337d499504ebd3558b6fa315101e438b62 (diff)
Add more
svn path=/trunk/mcs/; revision=8717
Diffstat (limited to 'mcs/errors/cs0205-2.cs')
-rw-r--r--mcs/errors/cs0205-2.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/errors/cs0205-2.cs b/mcs/errors/cs0205-2.cs
new file mode 100644
index 00000000000..5642245ce63
--- /dev/null
+++ b/mcs/errors/cs0205-2.cs
@@ -0,0 +1,22 @@
+using System;
+
+public abstract class A
+{
+ public abstract int Foobar { get; }
+}
+
+public class B: A
+{
+ public override int Foobar {
+ get {
+ return base.Foobar;
+ }
+ }
+
+ static void Main ()
+ {
+ B b = new B ();
+ if (b.Foobar == 1)
+ ;
+ }
+}