* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0122-4.cs
1 // cs0122-4.cs: `FooAttribute.Foo' is inaccessible due to its protection level
2 // Line: 11
3 // This is bug #55970
4
5 using System;
6
7 public sealed class FooAttribute : Attribute {
8         int Foo;
9 }
10
11 [Foo (Foo = 1)]
12 public class Tests {
13         public static void Main () {
14         }
15 }