diff options
Diffstat (limited to 'mdoc/Test/DocTest-framework-inheritance.cs')
-rw-r--r-- | mdoc/Test/DocTest-framework-inheritance.cs | 21 |
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 + } } |