void UnhandledExceptionFrame(object state) { RuntimeHelpers.PrepareConstrainedRegions(); try { Callback(state); } catch (Exception exception) { if (!Fx.HandleAtThreadBase(exception)) { throw; } } }
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; } } }
void UnhandledExceptionFrame(IAsyncResult result) { RuntimeHelpers.PrepareConstrainedRegions(); try { Callback(result); } catch (Exception exception) { if (!Fx.HandleAtThreadBase(exception)) { throw; } } }