1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
102
_threadingContext
= threadingContext;
11 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (11)
Snippets\SnippetExpansionClient.cs (11)
121
_threadingContext
.ThrowIfNotOnUIThread();
143
pFunc = new SnippetFunctionSimpleTypeName(this, SubjectBuffer, bstrFieldName, param,
_threadingContext
);
146
pFunc = new SnippetFunctionClassName(this, SubjectBuffer, bstrFieldName,
_threadingContext
);
149
pFunc = new SnippetFunctionGenerateSwitchCases(this, SubjectBuffer, bstrFieldName, param,
_threadingContext
);
159
_threadingContext
.ThrowIfNotOnUIThread();
231
_threadingContext
.JoinableTaskFactory.Run(() => AddReferencesAndImportsAsync(
546
var symbols =
_threadingContext
.JoinableTaskFactory.Run(() => GetReferencedSymbolsToLeftOfCaretAsync(document, caretPosition: triggerSpan.End, cancellationToken));
587
client.
_threadingContext
.ThrowIfNotOnUIThread();
705
_threadingContext
.ThrowIfNotOnUIThread();
706
_threadingContext
.JoinableTaskFactory.Run(() => OnModelUpdatedAsync(e.NewModel, CancellationToken.None));
786
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);