projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
[mono.git]
/
mcs
/
errors
/
cs0579-8.cs
1
// cs0579.cs: The attribute `System.ObsoleteAttribute' cannot be applied multiple times
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
}