示例#1
0
 public static void Initialize()
 {
     // We needed this function only because the McgIntrinsics attribute cannot be applied on the static constructor
     RuntimeAugments.RhpSetHighLevelDebugFuncEvalHelper(AddrofIntrinsics.AddrOf <Action>(HighLevelDebugFuncEvalHelper));
 }
示例#2
0
 /// <summary>
 /// When the module initializes, we register ourselves as the high level debug func eval helpers.
 /// The runtime will call into these functions when apppropriate.
 /// </summary>
 public static void Initialize()
 {
     RuntimeAugments.RhpSetHighLevelDebugFuncEvalHelper(AddrofIntrinsics.AddrOf <Action>(HighLevelDebugFuncEvalHelper));
     RuntimeAugments.RhpSetHighLevelDebugFuncEvalAbortHelper(AddrofIntrinsics.AddrOf <HighLevelDebugFuncEvalAbortHelperDelegate>(HighLevelDebugFuncEvalAbortHelper));
 }