blob: a58b7efce7e34875f117cd6799dae14b3da5d7c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times
// Line : 17
using System;
[AttributeUsage (AttributeTargets.ReturnValue)]
public class ReturnAttribute : Attribute
{
public ReturnAttribute ()
{
}
}
class MainClass {
[Obsolete]
[return: Return]
[Obsolete]
static void Main()
{
}
}
|