1 // test-458.cs : for bug #75723
6 internal class MyAttr
: Attribute
{
8 internal MyAttr(Type type
) { }
9 internal MyAttr(string name
) { }
10 internal MyAttr(int i
) { }
15 internal class ClassA { }
17 [MyAttr(typeof(string))]
18 internal class ClassB { }
21 internal class ClassC { }
24 internal class ClassD { }
28 public static int Main ()
30 if (typeof (ClassA
).GetCustomAttributes (false).Length
!= 1)