Updated with review feedback.
[mono.git] / mcs / errors / cs0122-18.cs
1 // CS0122: `Test.TestClass.TestClass()' is inaccessible due to its protection level
2 // Line: 17
3
4 namespace Test
5 {
6         public class TestClass
7         {
8                 private TestClass() : base()
9                 {
10                 }
11         }
12
13         class Class1
14         {
15                 static void Main(string[] args)
16                 {
17                         TestClass test = new TestClass();
18                 }
19         }
20