Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
[mono.git] / mcs / errors / cs0658-4.cs
1 // CS0658: `)' is invalid attribute target. All attributes in this attribute section will be ignored
2 // Line : 9
3 // Compiler options: -warnaserror -warn:1
4
5 namespace CompilerCrashWithAttributes
6 {
7         public class Main
8         {
9                 [MyAttribute1, MyAttribute1)]
10                 public Main ()
11                 {
12                 }
13         }
14
15         public class MyAttribute1 : Attribute
16         {
17         }
18 }