a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
330 B
C#
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() {}
|
|
}
|