summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0122-4.cs
blob: f545a99a2ebda858c9eda2089ea12178681babd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0122: `FooAttribute.Foo' is inaccessible due to its protection level
// Line: 11
// This is bug #55970

using System;

public sealed class FooAttribute : Attribute {
	int Foo;
}

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