[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0592-4.cs
1 // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
2 // Line: 5
3
4 using System;
5 [assembly:TestAttribute ()]
6
7 [AttributeUsage(AttributeTargets.Constructor)]
8 public class TestAttribute: Attribute {
9 }