Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0619-29.cs
blob06822191e211f12c52f54714e7cea1aeb31d1369
1 // CS0619-29: `Obsolete.Error' is obsolete: `Do not use it.'
2 // Line: 15
4 class Obsolete {
5 [System.Obsolete("Do not use it.", true)]
6 public static bool Error {
7 get {
8 return false;
13 class MainClass {
14 public static void Main () {
15 System.Console.WriteLine (Obsolete.Error);