[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0592-5.cs
blob3a165ff48cf06adada7708f331f05837279fda43
1 // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
2 // Line: 6
4 using System;
6 [TestAttribute ()]
7 enum E {
10 [AttributeUsage(AttributeTargets.Constructor)]
11 public class TestAttribute: Attribute {