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(); 144pFunc = new SnippetFunctionSimpleTypeName(this, SubjectBuffer, bstrFieldName, param, _threadingContext); 147pFunc = new SnippetFunctionClassName(this, SubjectBuffer, bstrFieldName, _threadingContext); 150pFunc = new SnippetFunctionGenerateSwitchCases(this, SubjectBuffer, bstrFieldName, param, _threadingContext); 160_threadingContext.ThrowIfNotOnUIThread(); 547var symbols = _threadingContext.JoinableTaskFactory.Run(() => GetReferencedSymbolsToLeftOfCaretAsync(document, caretPosition: triggerSpan.End, cancellationToken)); 588client._threadingContext.ThrowIfNotOnUIThread(); 706_threadingContext.ThrowIfNotOnUIThread(); 741var compilation = _threadingContext.JoinableTaskFactory.Run(() => document.Project.GetRequiredCompilationAsync(CancellationToken.None)); 775_threadingContext.ThrowIfNotOnUIThread(); 905_threadingContext.JoinableTaskFactory.Run(() => provider.ProvideArgumentAsync(context));