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)
35
if (
_failedTransfer
.Value is null)
40
_failedTransfer
.Value.Throw();
47
if (
_failedTransfer
.Value is null)
54
_failedTransfer
.Value = ExceptionDispatchInfo.Capture(e);
66
if (
_failedTransfer
.Value is null)
73
_failedTransfer
.Value = ExceptionDispatchInfo.Capture(e);
83
return new DenyExecutionSynchronizationContext(_underlyingContext.CreateCopy(), _mainThread,
_failedTransfer
);