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

cs0578.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5821aea0323f58893d20fb9c230236e228a167fa (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0578.cs: Conditional not valid on 'MainClass.Foo()' because its return type is not void
// Line: 10

class MainClass {
        [System.Diagnostics.Conditional("DEBUG")] bool Foo() { 
                return false;
        }
            
        public static void Main () {}
}