Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization ...