[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0657-9.cs
blobf1d526c8b8d01856cd090ab58268da69d4ae1043
1 // CS0657: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'. All attributes in this section will be ignored
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 [AttributeUsage(AttributeTargets.All)]
8 public class TestAttribute: Attribute
12 struct S
14 void method (
15 [type: Test]
16 int p) {}