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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs0619.cs
blob
c3b2b452808aa5ea0ed3f72e191f065d9ee566de
1
// cs0619.cs: `Obsolete.MethodError()' is obsolete: `Do not use it.'
2
// Line: 12
3
4
class
Obsolete
{
5
[
System
.
Obsolete
(
"Do not use it."
,
true
)]
6
public static void
MethodError
() {
7
}
8
}
9
10
class
MainClass
{
11
public static void
Main
() {
12
Obsolete
.
MethodError
();
13
}
14
}