static MonoDebuggerSupport()
        {
            get_method_token = (GetMethodTokenFunc)create_delegate(
                typeof(Assembly), typeof(GetMethodTokenFunc),
                "MonoDebugger_GetMethodToken");

            get_guid = (GetGuidFunc)create_delegate(
                typeof(Module), typeof(GetGuidFunc), "Mono_GetGuid");

            get_local_index = (GetLocalIndexFunc)create_delegate(
                typeof(SRE.LocalBuilder), typeof(GetLocalIndexFunc),
                "Mono_GetLocalIndex");
        }
Example #2
0
		static MonoDebuggerSupport ()
		{
			get_method_token = (GetMethodTokenFunc) create_delegate (
				typeof (Assembly), typeof (GetMethodTokenFunc),
				"MonoDebugger_GetMethodToken");

			get_guid = (GetGuidFunc) create_delegate (
				typeof (Module), typeof (GetGuidFunc), "Mono_GetGuid");

			get_local_index = (GetLocalIndexFunc) create_delegate (
				typeof (SRE.LocalBuilder), typeof (GetLocalIndexFunc),
				"Mono_GetLocalIndex");
		}