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

cs0545.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 772315845a046791862c434578f975fb31479e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0545.cs: 'DerivedClass.Value.get' : cannot override because 'BaseClass.Value' does not have an overridable get accessor
// Line: 9

abstract class BaseClass {
        protected abstract int Value { set; }
}

class DerivedClass: BaseClass {
        protected override int Value { get {} set {} }
}