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
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
cs0619-29.cs
blob
880bfbef93f996a38991c5817b8700b341b38413
1
// cs0619-29.cs: `Obsolete.Error' is obsolete: `Do not use it.'
2
// Line: 15
3
4
class
Obsolete
{
5
[
System
.
Obsolete
(
"Do not use it."
,
true
)]
6
public static bool
Error
{
7
get
{
8
return false
;
9
}
10
}
11
}
12
13
class
MainClass
{
14
public static void
Main
() {
15
System
.
Console
.
WriteLine
(
Obsolete
.
Error
);
16
}
17
}