2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0579-5.cs
bloba0d28132d2145719db470ee94d37cc694dca11b0
1 // cs0579.cs: The attribute `ReturnAttribute' cannot be applied multiple times
2 // Line : 17
4 using System;
5 using System.Reflection;
7 [AttributeUsage (AttributeTargets.ReturnValue)]
8 public class ReturnAttribute : Attribute
10 public ReturnAttribute ()
15 public class Blah {
16 [return: Return ()]
17 [return: Return ()]
18 public static void Main () { }