fad71374d0
Former-commit-id: a536d4f20e27294d8bbc2184d75f3a22364f7ba1
29 lines
632 B
C#
29 lines
632 B
C#
namespace MyNamespace {
|
|
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
|
|
: MyBaseClassOne
|
|
#endif
|
|
#if FXTWO
|
|
: MyBaseClassTwo
|
|
#endif
|
|
{
|
|
public override void AllAbstract() {}
|
|
|
|
#if FXONE
|
|
public override string AllVirtual { get { return ""; } }
|
|
#endif
|
|
}
|
|
}
|