a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
374 B
C#
21 lines
374 B
C#
// CS1729: The type `TestCases.ClassWithNonPublicConstructor' does not contain a constructor that takes `0' arguments
|
|
// Line: 10
|
|
|
|
namespace TestCases
|
|
{
|
|
public class GmcsCtorBug
|
|
{
|
|
public static void Test ()
|
|
{
|
|
new ClassWithNonPublicConstructor ();
|
|
}
|
|
}
|
|
|
|
public class ClassWithNonPublicConstructor
|
|
{
|
|
protected ClassWithNonPublicConstructor (int p)
|
|
{
|
|
}
|
|
}
|
|
}
|