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)
21
internal IThreadingContext ThreadingContext =>
_threadingContext
;
39
=>
_threadingContext
.JoinableTaskContext.IsOnMainThread;
43
var whenCreatedThread =
_threadingContext
.JoinableTaskContext.MainThread;
55
Contract.ThrowIfFalse(
_threadingContext
.JoinableTaskContext.IsOnMainThread);