a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
376 B
C#
17 lines
376 B
C#
// 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);
|
|
}
|
|
} |