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: b2bf3e4c6769256d7c65ff016867d8bb22486302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0243.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 () {}
}