1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ForegroundThreadAffinitizedObject.cs (1)
25_threadingContext = threadingContext ?? throw new ArgumentNullException(nameof(threadingContext));
4 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (4)
Shared\Utilities\ForegroundThreadAffinitizedObject.cs (4)
21internal IThreadingContext ThreadingContext => _threadingContext; 39=> _threadingContext.JoinableTaskContext.IsOnMainThread; 43var whenCreatedThread = _threadingContext.JoinableTaskContext.MainThread; 55Contract.ThrowIfFalse(_threadingContext.JoinableTaskContext.IsOnMainThread);