w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs0579-5.cs
blob1c5b1fb3cc0a5ef39ff72bfb4206e5eb9cb3699a
1 // CS0579: 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 () { }