[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-219.cs
1 using System;
2
3 public class TestAttribute : Attribute {
4     Type type;
5
6     public TestAttribute(Type type)
7     {
8         this.type = type;
9     }
10
11     public Type Type
12     {
13         get { return type; }
14     }
15 }
16
17 [TestAttribute(typeof(void))]
18 public class Test {
19     public static void Main()
20     {
21         object[] attrs =
22             typeof(Test).GetCustomAttributes(typeof(TestAttribute), false);
23         foreach (TestAttribute attr in attrs) {
24             Console.WriteLine("TestAttribute({0})", attr.Type);
25         }
26     }
27 }