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-11-26 05:55:25 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-11-26 05:55:25 +0300
commit5d22c127d5a4fd925503f793c686a7161a2674dc (patch)
tree29a3a34367e760091368ed74cb3071113d204af6 /mcs/errors/cs1722.cs
parentd1570ec629ef55e4b23a82fbbee8f7f3dafbe6db (diff)
Add error
svn path=/trunk/mcs/; revision=36594
Diffstat (limited to 'mcs/errors/cs1722.cs')
-rw-r--r--mcs/errors/cs1722.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/errors/cs1722.cs b/mcs/errors/cs1722.cs
new file mode 100644
index 00000000000..68ad83eb99d
--- /dev/null
+++ b/mcs/errors/cs1722.cs
@@ -0,0 +1,22 @@
+using System;
+
+namespace My.Namespace {
+
+
+ public interface IMyInterface {
+
+ String InterfaceProperty { get; }
+ }
+
+ public abstract class MyInterfaceBase : IMyInterface {
+
+ protected abstract String SubclassProperty { get; }
+
+ public String InterfaceProperty { get { return this.SubclassProperty; } }
+ }
+
+ public class MyBaseClass : IMyInterface, MyInterfaceBase {
+ // protected override String SubclassProperty { get { return "foo"; } }
+ }
+}
+