private static void OnHostTransaction(object state, TimeoutException timeoutException) { InstanceHandle.AcquireContextAsyncResult result = (InstanceHandle.AcquireContextAsyncResult)state; Exception exception = timeoutException; bool flag = exception != null; if (!flag) { try { if (result.DoAfterTransaction()) { flag = true; } } catch (Exception exception2) { if (Fx.IsFatal(exception2)) { throw; } exception = exception2; flag = true; } } if (flag) { if (exception != null) { result.handle.FinishOperation(); } result.Complete(false, exception); } }