summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0122-18.cs
blob: 66d6576232ecac531e1becfad7c332ed5354c342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS0122: `Test.TestClass.TestClass()' is inaccessible due to its protection level
// Line: 17

namespace Test
{
	public class TestClass
	{
		private TestClass() : base()
		{
		}
	}

	class Class1
	{
		static void Main(string[] args)
		{
			TestClass test = new TestClass();
		}
	}
}