1 write to _failedTransfer
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DenyExecutionSynchronizationContext.cs (1)
24_failedTransfer = failedTransfer ?? new StrongBox<ExceptionDispatchInfo>();
7 references to _failedTransfer
System.Windows.Forms.UI.IntegrationTests (7)
Infra\DenyExecutionSynchronizationContext.cs (7)
35if (_failedTransfer.Value is null) 40_failedTransfer.Value.Throw(); 47if (_failedTransfer.Value is null) 54_failedTransfer.Value = ExceptionDispatchInfo.Capture(e); 66if (_failedTransfer.Value is null) 73_failedTransfer.Value = ExceptionDispatchInfo.Capture(e); 83return new DenyExecutionSynchronizationContext(_underlyingContext.CreateCopy(), _mainThread, _failedTransfer);