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