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: f9d427311092fd9e637c9878bb42775ba6828f42 (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 {} }
}