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)
129presenter.ThreadingContext.ThrowIfNotOnUIThread(); 238this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 247this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 253this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 273this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 288this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 297this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 333this.Presenter.ThreadingContext.ThrowIfNotOnUIThread(); 648this.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);