[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0617-2.cs
bloba029d4168452d97169467cc18d8a533c642b3864
1 // CS0617: `foo3' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
2 // Line: 11
4 class BazAttribute : System.Attribute
6 public object foo3 { set {} }
9 class Test
11 [Baz (foo3 = 3)] void f3() {}