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

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

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

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