The signature of method 'function' does not match this delegate type
An attempt to use a method failed because the correct overloaded form was not present. You can resolve this error by adjusting your method call so that it finds a match.
The following sample generates CS0123:
namespace x { public class clx { public clx(int i) { } } public class cly : clx // CS0123 { static cly(){} public static void Main() { } } }