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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0619-34.cs
blob
cb1e0b472a66633e0a5ad6a935e3cad3326e7b5c
1
// CS0619-34: `Error' is obsolete: `Obsolete struct'
2
// Line: 17
3
4
using
System
;
5
6
[
Obsolete
(
"Obsolete struct"
,
true
)]
7
struct
Error
8
{
9
public static void
Report
(
bool
arg
)
10
{
11
}
12
}
13
14
class
MainClass
{
15
public static void
Main
()
16
{
17
Error
.
Report
(
false
);
18
}
19
}