Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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);
}
}