**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0657-9.cs
blob77412223fa3895c63f9aa06eb048ff105fb32393
1 // cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'param'
2 // Line : 13
4 using System;
6 [AttributeUsage(AttributeTargets.All)]
7 public class TestAttribute: Attribute
11 struct S
13 void method (
14 [type: Test]
15 int p) {}