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

cs0617-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9a49b2d4deb1d1acb2153852e20c4e8dad989d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0617: `Foo' 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

using System;

public sealed class FooAttribute : Attribute
{
	public short Foo { get; private set; }
}

[Foo (Foo = 1)]
public class Tests
{
}