Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc/Test/DocTest-framework-inheritance.cs')
-rw-r--r--mdoc/Test/DocTest-framework-inheritance.cs21
1 files changed, 18 insertions, 3 deletions
diff --git a/mdoc/Test/DocTest-framework-inheritance.cs b/mdoc/Test/DocTest-framework-inheritance.cs
index ca18dfff..675541ca 100644
--- a/mdoc/Test/DocTest-framework-inheritance.cs
+++ b/mdoc/Test/DocTest-framework-inheritance.cs
@@ -1,6 +1,15 @@
namespace MyNamespace {
- public abstract class MyBaseClassOne {}
- public abstract class MyBaseClassTwo {}
+ public abstract class MyBaseClassOne
+ {
+ public virtual string AllVirtual {get;}
+ public abstract void AllAbstract();
+ }
+ public abstract class MyBaseClassTwo
+ {
+ public string TwoMember {get;}
+ public virtual string AllVirtual {get;}
+ public abstract void AllAbstract();
+ }
public class MyClass
#if FXONE
@@ -9,5 +18,11 @@ namespace MyNamespace {
#if FXTWO
: MyBaseClassTwo
#endif
- {}
+ {
+ public override void AllAbstract() {}
+
+ #if FXONE
+ public override string AllVirtual { get { return ""; } }
+ #endif
+ }
}