Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0579-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55753d5c0ed09dfd7ec18b02b8b17f49902847c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cs0579.cs : Duplicate 'Return' attribute
// 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 () { }
}