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

cs0619-29.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 880bfbef93f996a38991c5817b8700b341b38413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0619-29.cs: `Obsolete.Error' is obsolete: `Do not use it.'
// Line: 15

class Obsolete {
        [System.Obsolete("Do not use it.", true)]
        public static bool Error {
            get {
                return false;
            }
        }
}

class MainClass {
        public static void Main () {
                System.Console.WriteLine (Obsolete.Error);
        }
}