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