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

cs0579-8.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1a12a54ab657424c04399f26574f3169789faf7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// cs0579.cs : Duplicate 'Obsolete' attribute
// Line : 17

using System;

[AttributeUsage (AttributeTargets.ReturnValue)]
public class ReturnAttribute : Attribute
{
        public ReturnAttribute ()
        {
	}
}

class MainClass {
        [Obsolete]
        [return: Return]
        [Obsolete]
        static void Main()
        {
        }
}