1 write to _denyExecutionSynchronizationContext
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ControlTestBase.cs (1)
77_denyExecutionSynchronizationContext = new DenyExecutionSynchronizationContext(SynchronizationContext.Current!);
5 references to _denyExecutionSynchronizationContext
System.Windows.Forms.UI.IntegrationTests (5)
Infra\ControlTestBase.cs (5)
78JoinableTaskContext = new JoinableTaskContext(_denyExecutionSynchronizationContext.MainThread, _denyExecutionSynchronizationContext); 101if (_denyExecutionSynchronizationContext is not null) 103SynchronizationContext.SetSynchronizationContext(_denyExecutionSynchronizationContext.UnderlyingContext); 104_denyExecutionSynchronizationContext.ThrowIfSwitchOccurred();