コード例 #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
ファイル: DebugFuncEval.cs プロジェクト: kevingosse/corert
 /// <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));
 }