Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0592-6.cs
1 // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
2 // Line: 6
3
4 using System;
5
6 [TestAttribute ()]
7 delegate void D ();
8
9 [AttributeUsage(AttributeTargets.Constructor)]
10 public class TestAttribute: Attribute {
11 }