a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
288 B
C#
18 lines
288 B
C#
// CS0619-30: `ObsoleteEnum.value_B' is obsolete: `Is obsolete'
|
|
// Line: 16
|
|
|
|
using System;
|
|
|
|
enum ObsoleteEnum
|
|
{
|
|
value_A,
|
|
[Obsolete("Is obsolete", true)]
|
|
value_B
|
|
}
|
|
|
|
class MainClass {
|
|
public static void Main ()
|
|
{
|
|
Console.WriteLine (ObsoleteEnum.value_B);
|
|
}
|
|
} |