コード例 #1
0
ファイル: Fx.cs プロジェクト: tralivali1234/IL2JS
 void UnhandledExceptionFrame(object state)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(state);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
コード例 #2
0
 private unsafe void UnhandledExceptionFrame(uint error, uint bytesRead, NativeOverlapped *nativeOverlapped)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         this.callback(error, bytesRead, nativeOverlapped);
     }
     catch (System.Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
コード例 #3
0
ファイル: Fx.cs プロジェクト: tralivali1234/IL2JS
 void UnhandledExceptionFrame(IAsyncResult result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }