summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0617-3.cs
blob: 033645354a8f69cbd9e9a7f082f112f4dd7b50a5 (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 static int Foo;
}

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