a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
402 B
C#
19 lines
402 B
C#
// CS0115: `DerivedClass.get_Value()' is marked as an override but no suitable method found to override
|
|
// Line: 13
|
|
|
|
class BaseClass {
|
|
protected virtual int Value {
|
|
get {
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
class DerivedClass: BaseClass {
|
|
protected override int get_Value () {
|
|
return 1;
|
|
}
|
|
|
|
static void Main () {}
|
|
}
|