internal RuntimeFunction(RuntimeModule module, ICorDebugFunction comFunction)
 {
     _module      = module;
     _comFunction = comFunction;
 }
 internal RuntimeFunction(RuntimeModule module, ICorDebugFunction comFunction)
 {
     _module = module;
     _comFunction = comFunction;
     
 }
        public void LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
        {
            RuntimeAppDomain runtimeDomain = GetProcessWrapper(pAppDomain).GetAppDomain(pAppDomain);

            ICorDebugAssembly comAssembly;
            pModule.GetAssembly(out comAssembly);
            RuntimeAssembly runtimeAssembly = runtimeDomain.GetAssembly(comAssembly);

            var runtimeModule = new RuntimeModule(runtimeAssembly, pModule);

            Log("Loaded module {0}",  runtimeModule.Name);

            var eventArgs = new GenericDebuggerEventArgs<RuntimeModule>(runtimeModule, runtimeDomain);

            runtimeAssembly.DispatchModuleLoadEvent(eventArgs);
            FinalizeEvent(eventArgs);
        }