Remove code moved to shared partition
[mono-project.git] / mcs / errors / cs0592-6.cs
blob8c9d0ea6262cfa33571f0b2b6b8610e8a0dbdf8f
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 delegate void D ();
9 [AttributeUsage(AttributeTargets.Constructor)]
10 public class TestAttribute: Attribute {