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

cs0243.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fd73db3eb2bbfe255d43ea20dda249a4d6b6988b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0238.cs: Conditional not valid on 'DerivedClass.Show()' because it is an override method
// Line: 10

class BaseClass {
        protected virtual void Show () {}
}

class DerivedClass: BaseClass {
        [System.Diagnostics.Conditional("DEBUG")] protected override void Show () {}
            
        static void Main () {}
}