1 implementation of IThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
26internal sealed class ThreadingContext : IThreadingContext, IDisposable
139 references to IThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (139)
AddImports\AbstractAddImportsPasteCommandHandler.cs (2)
29IThreadingContext threadingContext, 43private readonly IThreadingContext _threadingContext = threadingContext;
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
47private readonly IThreadingContext _threadingContext; 53EditorOptionsService editorOptionsService, IBraceCompletionService service, IThreadingContext threadingContext)
AutomaticCompletion\BraceCompletionSessionProvider.cs (2)
37IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext;
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (2)
25private readonly IThreadingContext _threadingContext; 27protected AbstractChangeSignatureCommandHandler(IThreadingContext threadingContext)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (2)
36IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext;
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (2)
28private sealed class ClassifiedLineCache(IThreadingContext threadingContext) 49private readonly IThreadingContext _threadingContext = threadingContext;
Classification\Syntactic\SyntacticClassificationTaggerProvider.cs (1)
24private IThreadingContext ThreadingContext => _taggerHost.ThreadingContext;
CodeActions\CodeActionEditHandlerService.cs (2)
31IThreadingContext threadingContext, 36private readonly IThreadingContext _threadingContext = threadingContext;
CodeDefinitionWindow\DefinitionContextTracker.cs (2)
45private readonly IThreadingContext _threadingContext; 56IThreadingContext threadingContext,
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
30IThreadingContext threadingContext,
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (2)
18IThreadingContext threadingContext, 21private readonly IThreadingContext _threadingContext = threadingContext;
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (2)
26IThreadingContext threadingContext, 30private readonly IThreadingContext _threadingContext = threadingContext;
Extensibility\NavigationBar\AbstractEditorNavigationBarItemService.cs (2)
21protected readonly IThreadingContext ThreadingContext; 23protected AbstractEditorNavigationBarItemService(IThreadingContext threadingContext)
ExternalAccess\VSTypeScript\Api\VSTypeScriptAsynchronousTaggerProvider.cs (2)
19IThreadingContext threadingContext, 32IThreadingContext threadingContext,
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (1)
40IThreadingContext threadingContext,
ExternalAccess\VSTypeScript\VSTypeScriptNavigationBarItemService.cs (2)
26IThreadingContext threadingContext, 29private readonly IThreadingContext _threadingContext = threadingContext;
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (2)
21private readonly IThreadingContext _threadingContext; 23protected AbstractExtractInterfaceCommandHandler(IThreadingContext threadingContext)
ExtractMethod\ExtractMethodCommandHandler.cs (2)
39private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
GoToBase\GoToBaseCommandHandler.cs (1)
31IThreadingContext threadingContext,
GoToDefinition\AbstractGoToCommandHandler`2.cs (2)
32IThreadingContext threadingContext, 40private readonly IThreadingContext _threadingContext = threadingContext;
GoToDefinition\GoToDefinitionCommandHandler.cs (2)
35IThreadingContext threadingContext, 41private readonly IThreadingContext _threadingContext = threadingContext;
GoToDefinition\GoToDefinitionHelpers.cs (2)
19IThreadingContext threadingContext, 33IThreadingContext threadingContext,
GoToImplementation\GoToImplementationCommandHandler.cs (1)
31IThreadingContext threadingContext,
Host\IStreamingFindReferencesPresenter.cs (2)
68IThreadingContext threadingContext, 86IThreadingContext threadingContext,
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
22IThreadingContext threadingContext,
InlineRename\InlineRenameService.cs (3)
32IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext; 124IThreadingContext threadingContext, IInlineRenameInfo renameInfo, Document document, CancellationToken cancellationToken)
InlineRename\InlineRenameSession.cs (2)
53private readonly IThreadingContext _threadingContext; 135IThreadingContext threadingContext,
IntelliSense\AbstractController.cs (2)
22protected readonly IThreadingContext ThreadingContext; 41IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CommitManager.cs (2)
41private readonly IThreadingContext _threadingContext; 64IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CommitManagerProvider.cs (2)
23IThreadingContext threadingContext, 28private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\AsyncCompletion\CompletionSource.cs (2)
62private readonly IThreadingContext _threadingContext; 71IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (2)
25IThreadingContext threadingContext, 31private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\IDocumentProvider.cs (2)
20internal class DocumentProvider(IThreadingContext threadingContext) : IDocumentProvider 22private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\ImportCompletionCacheService\EditorExtensionMethodImportCompletionCacheServiceFactory.cs (1)
19internal sealed class EditorExtensionMethodImportCompletionCacheServiceFactory(IAsynchronousOperationListenerProvider listenerProvider, IThreadingContext threadingContext)
IntelliSense\ImportCompletionCacheService\EditorTypeImportCompletionCacheServiceFactory.cs (1)
19internal sealed class EditorTypeImportCompletionCacheServiceFactory(IAsynchronousOperationListenerProvider listenerProvider, IThreadingContext threadingContext)
IntelliSense\ModelComputation.cs (2)
22public readonly IThreadingContext ThreadingContext; 59IThreadingContext threadingContext,
IntelliSense\NavigationActionFactory.cs (2)
23IThreadingContext threadingContext, 49IThreadingContext threadingContext,
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (2)
27IThreadingContext threadingContext, 34private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (2)
36IThreadingContext threadingContext, 44private readonly IThreadingContext _threadingContext = threadingContext;
Interactive\InteractiveSession.cs (2)
36private readonly IThreadingContext _threadingContext; 79IThreadingContext threadingContext,
LanguageServer\AbstractInProcLanguageClient.cs (2)
33IThreadingContext threadingContext, 38private readonly IThreadingContext _threadingContext = threadingContext;
LanguageServer\AlwaysActivateInProcLanguageClient.cs (1)
40IThreadingContext threadingContext,
LanguageServer\LiveShareInProcLanguageClient.cs (1)
32IThreadingContext threadingContext,
LanguageServer\RazorInProcLanguageClient.cs (1)
47IThreadingContext threadingContext,
NavigateTo\NavigateToHelpers.cs (2)
19IThreadingContext threadingContext, 31IThreadingContext threadingContext,
Navigation\AbstractDefinitionLocationService.cs (2)
23IThreadingContext threadingContext, 26private readonly IThreadingContext _threadingContext = threadingContext;
Navigation\IDocumentNavigationServiceExtensions.cs (8)
16this INavigableLocation? location, IThreadingContext threadingContext, NavigationOptions options, CancellationToken cancellationToken) 31this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, NavigationOptions options, bool allowInvalidSpan, CancellationToken cancellationToken) 38this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, NavigationOptions options, CancellationToken cancellationToken) 45this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken) 52this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int position, int virtualSpace, bool allowInvalidPosition, NavigationOptions options, CancellationToken cancellationToken) 59this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int position, CancellationToken cancellationToken) 65this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int position, NavigationOptions options, CancellationToken cancellationToken) 73this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int lineNumber, int offset, NavigationOptions options, CancellationToken cancellationToken)
NavigationBar\NavigationBarController.cs (2)
38private readonly IThreadingContext _threadingContext; 93IThreadingContext threadingContext,
NavigationBar\NavigationBarControllerFactoryService.cs (2)
20IThreadingContext threadingContext, 25private readonly IThreadingContext _threadingContext = threadingContext;
Organizing\OrganizeDocumentCommandHandler.cs (2)
39IThreadingContext threadingContext, 45private readonly IThreadingContext _threadingContext = threadingContext;
PasteTracking\PasteTrackingService.cs (2)
21internal class PasteTrackingService(IThreadingContext threadingContext) : IPasteTrackingService 23private readonly IThreadingContext _threadingContext = threadingContext;
Preview\AbstractPreviewFactoryService.cs (2)
38IThreadingContext threadingContext, 66protected readonly IThreadingContext ThreadingContext = threadingContext;
Preview\SolutionPreviewResult.cs (3)
17IThreadingContext threadingContext, 21private readonly IThreadingContext _threadingContext = threadingContext; 25public SolutionPreviewResult(IThreadingContext threadingContext, SolutionPreviewItem preview, SolutionChangeSummary? changeSummary = null)
RenameTracking\RenameTrackingTaggerProvider.cs (2)
43IThreadingContext threadingContext, 49private readonly IThreadingContext _threadingContext = threadingContext;
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (4)
27private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext, 115private sealed class RenameTrackingCommitterOperation(RenameTrackingCommitter committer, IThreadingContext threadingContext) : CodeActionOperation 118private readonly IThreadingContext _threadingContext = threadingContext;
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (2)
37public readonly IThreadingContext ThreadingContext; 58IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
43private readonly IThreadingContext _threadingContext;
SemanticSearch\SemanticSearchEditorWorkspace.cs (1)
20IThreadingContext threadingContext,
Shared\Extensions\ITextSnapshotExtensions.cs (2)
57/// <see cref="GetFullyLoadedOpenDocumentInCurrentContextWithChanges(ITextSnapshot, IUIThreadOperationContext, IThreadingContext)"/>. 92this ITextSnapshot snapshot, IUIThreadOperationContext operationContext, IThreadingContext threadingContext)
Shared\Extensions\IThreadingContextExtensions.cs (2)
12public static void ThrowIfNotOnUIThread(this IThreadingContext threadingContext) 15public static void ThrowIfNotOnBackgroundThread(this IThreadingContext threadingContext)
Shared\Tagging\EventSources\TaggerEventSources.cs (1)
58public static ITaggerEventSource OnViewSpanChanged(IThreadingContext threadingContext, ITextView textView)
Shared\Tagging\EventSources\TaggerEventSources.ViewSpanChangedEventSource.cs (2)
17private readonly IThreadingContext _threadingContext; 22public ViewSpanChangedEventSource(IThreadingContext threadingContext, ITextView textView)
Shared\Utilities\IThreadingContext.cs (1)
24/// that depend on <see cref="IThreadingContext"/>, so code is generally not expected to check this property.
Shared\Utilities\ThreadingContext.cs (2)
15/// Implements <see cref="IThreadingContext"/>, which provides an implementation of 24[Export(typeof(IThreadingContext))]
Shared\Utilities\ThreadingContextTaskSchedulerProvider.cs (1)
18internal sealed class ThreadingContextTaskSchedulerProvider(IThreadingContext threadingContext) : ITaskSchedulerProvider
Shared\Utilities\WorkspaceThreadingService.cs (2)
17internal sealed class WorkspaceThreadingService(IThreadingContext threadingContext) : IWorkspaceThreadingService 19private readonly IThreadingContext _threadingContext = threadingContext;
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (2)
31private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext,
SpellCheck\RoslynSpellCheckFixerProvider.cs (2)
30IThreadingContext threadingContext) : ISpellCheckFixerProvider 32private readonly IThreadingContext _threadingContext = threadingContext;
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
41protected IThreadingContext ThreadingContext => _taggerHost.ThreadingContext;
Tagging\AsynchronousViewportTaggerProvider.cs (1)
45protected IThreadingContext ThreadingContext => _taggerHost.ThreadingContext;
Tagging\TaggerHost.cs (2)
19IThreadingContext threadingContext, 24public readonly IThreadingContext ThreadingContext = threadingContext;
Tagging\TaggerMainThreadManager.cs (2)
21private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
Workspaces\AbstractTextBufferVisibilityTracker.cs (2)
26private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext)
Workspaces\ITextBufferVisibilityTracker.cs (1)
47IThreadingContext threadingContext,