repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In ilasm/tests:
[mcs.git]
/
errors
/
cs0619-30.cs
blob
5f945a08f10aba110aa7bf3506458e4cafc735de
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
}