2009-11-12 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1671.cs
blob4b87a6c22968bb282ea47d42b895e9c339699d2d
1 // cs1671.cs: A namespace declaration cannot have modifiers or attributes
2 // Line: 5
3 using System;
5 [error_1518(11)]
6 namespace Mono.Tests
8 [AttributeUsage(AttributeTargets.All)]
9 public class error_1518Attribute : Attribute
11 private int x;
13 public error_1518Attribute(int x)
15 this.x = x;
18 public int X
20 get
22 return x;
27 [error_1518(10)]
28 public class error_1518Class
30 public error_1518Class()