'function' : access modifiers are not allowed on static contructors
A constructor cannot have an access modifier.
The following sample generates CS0515:
namespace x { public class clx { public static int Main() { return 0; } } public class clz { public static clz() // CS0515, remove public keyword { } } }