コード例 #1
0
 internal void SaveTraceToException(Exception exception) {
     if (exception.GetData(typeof(InterpretedFrameInfo)) == null) {
         exception.SetData(typeof(InterpretedFrameInfo), new List<InterpretedFrameInfo>(GetStackTraceDebugInfo()).ToArray());
     }
 }
コード例 #2
0
 public static InterpretedFrameInfo[] GetExceptionStackTrace(Exception exception) {
     return exception.GetData(typeof(InterpretedFrameInfo)) as InterpretedFrameInfo[];
 }
コード例 #3
0
ファイル: RubyExceptionData.cs プロジェクト: TerabyteX/main
 internal static RubyExceptionData TryGetInstance(Exception/*!*/ e) {
     return e.GetData(_DataKey) as RubyExceptionData;
 }