1 write to _mainThread
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DenyExecutionSynchronizationContext.cs (1)
23_mainThread = mainThread ?? new Thread(MainThreadStart);
2 references to _mainThread
System.Windows.Forms.UI.IntegrationTests (2)
Infra\DenyExecutionSynchronizationContext.cs (2)
29internal Thread MainThread => _mainThread; 83return new DenyExecutionSynchronizationContext(_underlyingContext.CreateCopy(), _mainThread, _failedTransfer);