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

cs1715.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b33bedf5bc36abf2656ff42382b2dd35a7aecffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1715.cs: 'DerivedClass.Prop': type must be 'bool' to match overridden member 'BaseClass.Prop'
// Line: 9

class BaseClass {
        protected virtual bool Prop { set {} }
}

class DerivedClass: BaseClass {
        protected override int Prop { set {} }
}