2003-04-12 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / tests / test-102.cs
1 using System;
2 using System.Reflection;
3
4 [assembly: AssemblyTitle ("Foo")]
5 [assembly: AssemblyVersion ("1.0.2")]
6
7 namespace N1 {
8                 
9         [AttributeUsage (AttributeTargets.All)]
10         public class MineAttribute : Attribute {
11
12                 string name;
13                 
14                 public MineAttribute (string s)
15                 {
16                         name = s;
17                 }
18         }
19
20         interface A {
21                 [Mine ("hello")]
22                 void Hello ();
23         }       
24
25         public class Foo {      
26                 
27                 int i;
28                 
29                 [Mine ("Foo")]
30                 [return: Mine ("Bar")]  
31                 public static int Main ()
32                 {
33                         return 0;
34                 }
35         }
36 }