[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0657-11.cs
blob0166b8f977c6827dbc8f67e5325ebd25813b04bd
1 // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'. 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 class C
14 int Prop {
15 [param:Test]
16 get {
17 return 1;