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

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

class Obsolete {
        [System.Obsolete("Do not use it.", true)]
        public static void MethodError() {
        }
}

class MainClass {
        public static void Main () {
                Obsolete.MethodError();
        }
}