[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1671.cs
blobfd4953847fec90326866e591feaf5e13059a7380
1 // CS1671: 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()