17 lines
376 B
C#
Raw Normal View History

// CS0619-29: `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);
}
}