1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\StreamingFindUsagesPresenter.cs (1)
117ThreadingContext = 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)
126ThreadingContext.ThrowIfNotOnUIThread(); 161ThreadingContext.ThrowIfNotOnUIThread(); 174ThreadingContext.ThrowIfNotOnUIThread(); 223this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn, ThreadingContext); 234this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn, ThreadingContext); 244ThreadingContext.ThrowIfNotOnUIThread(); 291ThreadingContext.ThrowIfNotOnUIThread(); 304ThreadingContext.ThrowIfNotOnUIThread(); 324await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);