projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs0619-30.cs
1
// cs0619-30.cs: `ObsoleteEnum.value_B' is obsolete: `Is obsolete'
2
// Line: 16
3
4
using System;
5
6
enum ObsoleteEnum
7
{
8
value_A,
9
[Obsolete("Is obsolete", true)]
10
value_B
11
}
12
13
class MainClass {
14
public static void Main ()
15
{
16
Console.WriteLine (ObsoleteEnum.value_B);
17
}
18
}