Keyword this or base expected
The compiler encountered an incomplete constructor declaration.
The following sample generates CS1018 and suggests several ways to resolve the error:
namespace x { public class C { } public class a : C { public a(int i) { } public a () : { // CS1018 // possible resolutions: // public a () resolves by removing : // public a () : base() calls C's default constructor // public a () : this(1) needs a constructor that takes an int } public static int Main() { return 1; } } }