Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

13 lines
330 B
C#

// 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
// Line: 11
class BazAttribute : System.Attribute
{
public object foo3 { set {} }
}
class Test
{
[Baz (foo3 = 3)] void f3() {}
}