ModuleBuilder.SetUserEntryPoint Method (MethodInfo)
Sets the user entry point.
Assembly: mscorlib (in mscorlib.dll)
The compiler might generate a startup stub before calling user main. The startup stub will be the entry point. While the user main will be the user entry point so that debugger will not step into the compiler entry point.
Available since 1.1
Available since 2.0