repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0619.cs
blob
a709fba97fa2446227706a64cea49f02be791a81
1
// CS0619: `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
}