1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\CodeModelState.cs (1)
42
this.
ThreadingContext
= threadingContext;
13 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (13)
CodeModel\FileCodeModel.cs (7)
88
_codeElementTable = new CleanableWeakComHandleTable<SyntaxNodeKey, EnvDTE.CodeElement>(state.
ThreadingContext
);
344
var formatted = State.
ThreadingContext
.JoinableTaskFactory.Run(async () =>
414
document = State.
ThreadingContext
.JoinableTaskFactory.Run(
436
=> State.
ThreadingContext
.JoinableTaskFactory.Run(() =>
443
=> State.
ThreadingContext
.JoinableTaskFactory.Run(() =>
450
=> State.
ThreadingContext
.JoinableTaskFactory.Run(() =>
701
var newDocument = State.
ThreadingContext
.JoinableTaskFactory.Run(async () =>
CodeModel\InternalElements\AbstractCodeElement.cs (1)
142
=> State.
ThreadingContext
.JoinableTaskFactory.Run(() => GetDocument().GetLineFormattingOptionsAsync(CancellationToken.None).AsTask());
CodeModel\RootCodeModel.cs (5)
130
=> this.State.
ThreadingContext
.JoinableTaskFactory.Run(async () =>
136
await this.State.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync();
142
=> this.State.
ThreadingContext
.JoinableTaskFactory.Run(async () =>
154
await this.State.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync();
169
=> this.State.
ThreadingContext
.JoinableTaskFactory.Run(async () =>