Merge pull request #1066 from esdrubal/bug19313
[mono.git] / mcs / errors / cs0181-3.cs
1 // CS0181: Attribute constructor parameter has type `System.Enum', which is not a valid attribute parameter type
2 // Line: 18
3
4 using System;
5
6 enum E
7
8         Value
9 }
10
11 class AAttribute : Attribute
12
13         public AAttribute (Enum e)
14         {
15         }
16 }
17
18 [A (E.Value)]
19 class Test
20 {
21 }