1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\StreamingFindUsagesPresenter.cs (1)
118ThreadingContext = threadingContext;
20 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices (20)
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (9)
130presenter.ThreadingContext.ThrowIfNotOnUIThread(); 239this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 248this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 254this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 274this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 289this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 298this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 334this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 649this.Presenter.ThreadingContext.ThrowIfNotOnUIThread();
FindReferences\Contexts\WithoutReferencesFindUsagesContext.cs (1)
109entries.Add(new MetadataDefinitionItemEntry(this, definitionBucket, metadataLocation, ThreadingContext));
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
227navigationBucket: RoslynDefinitionBucket.Create(Presenter, this, definition, expandedByDefault: false, this.ThreadingContext),
FindReferences\StreamingFindUsagesPresenter.cs (9)
127ThreadingContext.ThrowIfNotOnUIThread(); 162ThreadingContext.ThrowIfNotOnUIThread(); 175ThreadingContext.ThrowIfNotOnUIThread(); 224this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn, ThreadingContext); 235this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn, ThreadingContext); 245ThreadingContext.ThrowIfNotOnUIThread(); 292ThreadingContext.ThrowIfNotOnUIThread(); 305ThreadingContext.ThrowIfNotOnUIThread(); 325await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);