1 implementation of JoinableTaskContext
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
48
public JoinableTaskContext
JoinableTaskContext
7 references to JoinableTaskContext
Microsoft.CodeAnalysis.EditorFeatures (7)
CodeDefinitionWindow\DefinitionContextTracker.cs (4)
75
Contract.ThrowIfFalse(_threadingContext.
JoinableTaskContext
.IsOnMainThread);
89
Contract.ThrowIfFalse(_threadingContext.
JoinableTaskContext
.IsOnMainThread);
101
Contract.ThrowIfFalse(_threadingContext.
JoinableTaskContext
.IsOnMainThread);
108
Contract.ThrowIfFalse(_threadingContext.
JoinableTaskContext
.IsOnMainThread);
Shared\Extensions\IThreadingContextExtensions.cs (2)
13
=> Contract.ThrowIfFalse(threadingContext.
JoinableTaskContext
.IsOnMainThread);
16
=> Contract.ThrowIfTrue(threadingContext.
JoinableTaskContext
.IsOnMainThread);
Tagging\TaggerMainThreadManager.cs (1)
79
if (_threadingContext.
JoinableTaskContext
.IsOnMainThread)