2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0579-8.cs
blobf0cd0faf6b69058c31145a1d7c20fc24bfb2979d
1 // cs0579.cs: The attribute `System.ObsoleteAttribute' cannot be applied multiple times
2 // Line : 17
4 using System;
6 [AttributeUsage (AttributeTargets.ReturnValue)]
7 public class ReturnAttribute : Attribute
9 public ReturnAttribute ()
14 class MainClass {
15 [Obsolete]
16 [return: Return]
17 [Obsolete]
18 static void Main()