[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0579-5.cs
1 // CS0579: The attribute `ReturnAttribute' cannot be applied multiple times
2 // Line : 17
3
4 using System;
5 using System.Reflection;
6
7 [AttributeUsage (AttributeTargets.ReturnValue)]
8 public class ReturnAttribute : Attribute
9 {
10         public ReturnAttribute ()
11         {
12         }
13 }
14
15 public class Blah {
16         [return: Return ()]
17         [return: Return ()]
18         public static void Main () { }
19 }
20