1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
101
_threadingContext
= threadingContext;
11 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (11)
Snippets\SnippetExpansionClient.cs (11)
120
_threadingContext
.ThrowIfNotOnUIThread();
144
pFunc = new SnippetFunctionSimpleTypeName(this, SubjectBuffer, bstrFieldName, param,
_threadingContext
);
147
pFunc = new SnippetFunctionClassName(this, SubjectBuffer, bstrFieldName,
_threadingContext
);
150
pFunc = new SnippetFunctionGenerateSwitchCases(this, SubjectBuffer, bstrFieldName, param,
_threadingContext
);
160
_threadingContext
.ThrowIfNotOnUIThread();
547
var symbols =
_threadingContext
.JoinableTaskFactory.Run(() => GetReferencedSymbolsToLeftOfCaretAsync(document, caretPosition: triggerSpan.End, cancellationToken));
588
client.
_threadingContext
.ThrowIfNotOnUIThread();
706
_threadingContext
.ThrowIfNotOnUIThread();
741
var compilation =
_threadingContext
.JoinableTaskFactory.Run(() => document.Project.GetRequiredCompilationAsync(CancellationToken.None));
775
_threadingContext
.ThrowIfNotOnUIThread();
905
_threadingContext
.JoinableTaskFactory.Run(() => provider.ProvideArgumentAsync(context));