blob: 643dda58317bbe7386a87005fc2975322d78d345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// CS0505: `DerivedClass.value()': cannot override because `BaseClass.value' is not a method
// Line: 9
class BaseClass {
protected int value;
}
class DerivedClass: BaseClass {
protected override int value() {}
}
|