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
Display error messages instead of stack traces.
[mcs.git]
/
errors
/
cs0619-31.cs
blob
9aa76727a5f0a0e51cc6fe79560e5cbe69479597
1
// cs0619-31.cs: `ObsoleteEnum' is obsolete: `Is obsolete'
2
// Line: 15
3
4
using
System
;
5
6
[
Obsolete
(
"Is obsolete"
,
true
)]
7
enum
ObsoleteEnum
8
{
9
value_B
10
}
11
12
class
MainClass
{
13
public static void
Main
()
14
{
15
Console
.
WriteLine
(
ObsoleteEnum
.
value_B
);
16
}
17
}