private Assembly LoadAssembly (string name) { if (name == "mscorlib") return typeof (object).Assembly; return Application.GetAssembly (name); }