1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\StreamingFindUsagesPresenter.cs (1)
118
ThreadingContext
= threadingContext;
20 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices (20)
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (9)
129
presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
238
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
247
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
253
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
273
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
288
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
297
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
333
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
648
this.Presenter.
ThreadingContext
.ThrowIfNotOnUIThread();
FindReferences\Contexts\WithoutReferencesFindUsagesContext.cs (1)
109
entries.Add(new MetadataDefinitionItemEntry(this, definitionBucket, metadataLocation,
ThreadingContext
));
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
227
navigationBucket: RoslynDefinitionBucket.Create(Presenter, this, definition, expandedByDefault: false, this.
ThreadingContext
),
FindReferences\StreamingFindUsagesPresenter.cs (9)
127
ThreadingContext
.ThrowIfNotOnUIThread();
162
ThreadingContext
.ThrowIfNotOnUIThread();
175
ThreadingContext
.ThrowIfNotOnUIThread();
224
this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn,
ThreadingContext
);
235
this, window, _customColumns, _globalOptions, includeContainingTypeAndMemberColumns, includeKindColumn,
ThreadingContext
);
245
ThreadingContext
.ThrowIfNotOnUIThread();
292
ThreadingContext
.ThrowIfNotOnUIThread();
305
ThreadingContext
.ThrowIfNotOnUIThread();
325
await
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);