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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
errors
/
cs0579-8.cs
blob
1a12a54ab657424c04399f26574f3169789faf7c
1
// cs0579.cs : Duplicate 'Obsolete' attribute
2
// Line : 17
3
4
using
System
;
5
6
[
AttributeUsage
(
AttributeTargets
.
ReturnValue
)]
7
public class
ReturnAttribute
:
Attribute
8
{
9
public
ReturnAttribute
()
10
{
11
}
12
}
13
14
class
MainClass
{
15
[
Obsolete
]
16
[
return
:
Return
]
17
[
Obsolete
]
18
static void
Main
()
19
{
20
}
21
}