Merge branch 'master' of http://github.com/mono/mono
[mono.git] / mcs / errors / cs0122-31.cs
1 // CS0122: `Data.Count' is inaccessible due to its protection level
2 // Line: 13
3
4 class Data
5 {
6         int Count;
7 }
8
9 public class Test
10 {
11         static void Main ()
12         {
13                 var c = new Data { Count = 10 };
14         }
15 }