Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0617-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a99fbe6eac96827d97ece000c8e798fd4cdea155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// cs0617.cs : 'foo3' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static or const, or read-write properties which are not static.
// Line: 11

class BazAttribute : System.Attribute 
{
	public object foo3 { set {} }
}

class Test 
{
	[Baz (foo3 = 3)] void f3() {}
}