1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// CS1729: The type `A.Foo' does not contain a constructor that takes `1' arguments // Line: 15 public class A { public class Foo { } } class Example { public void Main(string[] args) { A a = new A.Foo ("test"); } }