Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1729-14.cs
1 // CS1729: The type `TestCases.ClassWithNonPublicConstructor' does not contain a constructor that takes `0' arguments
2 // Line: 10
3
4 namespace TestCases
5 {
6         public class GmcsCtorBug
7         {
8                 public static void Test ()
9                 {
10                         new ClassWithNonPublicConstructor ();
11                 }
12         }
13
14         public class ClassWithNonPublicConstructor
15         {
16                 protected ClassWithNonPublicConstructor (int p)
17                 {
18                 }
19         }
20 }