1 implementation of IThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
26internal sealed class ThreadingContext : IThreadingContext, IDisposable
537 references to IThreadingContext
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (2)
45private IThreadingContext _threadingContext; 139_threadingContext = exportProvider.GetExportedValue<IThreadingContext>();
Microsoft.CodeAnalysis.CSharp.EditorFeatures (13)
AddImports\CSharpAddImportsPasteCommandHandler.cs (1)
31internal sealed class CSharpAddImportsPasteCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions, IAsynchronousOperationListenerProvider listnerProvider)
ChangeSignature\CSharpChangeSignatureCommandHandler.cs (1)
20internal sealed class CSharpChangeSignatureCommandHandler(IThreadingContext threadingContext) : AbstractChangeSignatureCommandHandler(threadingContext)
EncapsulateField\EncapsulateFieldCommandHandler.cs (1)
24IThreadingContext threadingContext,
EventHookup\EventHookupCommandHandler.cs (2)
44IThreadingContext threadingContext, 50private readonly IThreadingContext _threadingContext = threadingContext;
EventHookup\EventHookupSessionManager.cs (2)
27IThreadingContext threadingContext, 30public readonly IThreadingContext ThreadingContext = threadingContext;
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
37private readonly IThreadingContext _threadingContext;
ExtractInterface\ExtractInterfaceCommandHandler.cs (1)
21internal sealed class ExtractInterfaceCommandHandler(IThreadingContext threadingContext) : AbstractExtractInterfaceCommandHandler(threadingContext)
Navigation\CSharpDefinitionLocationService.cs (1)
17internal sealed class CSharpDefinitionLocationService(IThreadingContext threadingContext, IStreamingFindUsagesPresenter streamingPresenter)
NavigationBar\CSharpEditorNavigationBarItemService.cs (1)
21internal sealed class CSharpEditorNavigationBarItemService(IThreadingContext threadingContext) : AbstractEditorNavigationBarItemService(threadingContext)
StringCopyPaste\StringCopyPasteCommandHandler.cs (2)
53IThreadingContext threadingContext, 63private readonly IThreadingContext _threadingContext = threadingContext;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Classification\TotalClassifierTests.cs (1)
2972workspace.GetService<IThreadingContext>(),
CodeActions\PreviewExceptionTests.cs (1)
95workspace.ExportProvider.GetExportedValue<IThreadingContext>(),
EventHookup\EventHookupTestState.cs (1)
35Workspace.GetService<IThreadingContext>(),
Organizing\OrganizeTypeDeclarationTests.cs (1)
1079workspace.GetService<IThreadingContext>(),
QuickInfo\SyntacticQuickInfoSourceTests.cs (1)
578threadingContext: workspace.ExportProvider.GetExportedValue<IThreadingContext>(),
Microsoft.CodeAnalysis.EditorFeatures (243)
AddImports\AbstractAddImportsPasteCommandHandler.cs (2)
28IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext;
Adornments\AbstractAdornmentManager.cs (2)
30private readonly IThreadingContext _threadingContext; 60IThreadingContext threadingContext,
Adornments\AbstractAdornmentManagerProvider.cs (2)
21protected readonly IThreadingContext ThreadingContext; 27IThreadingContext threadingContext,
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (1)
52private IThreadingContext ThreadingContext => _provider._threadingContext;
AutomaticCompletion\BraceCompletionSessionProvider.cs (2)
36IThreadingContext threadingContext, 41private readonly IThreadingContext _threadingContext = threadingContext;
BackgroundWorkIndicator\WpfBackgroundWorkIndicatorFactory.cs (2)
21IThreadingContext threadingContext, 24private readonly IThreadingContext _threadingContext = threadingContext;
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (2)
21internal abstract class AbstractChangeSignatureCommandHandler(IThreadingContext threadingContext) 25private readonly IThreadingContext _threadingContext = threadingContext;
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (2)
36IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext;
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (2)
27private sealed class ClassifiedLineCache(IThreadingContext threadingContext) 48private 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,
Copilot\CopilotWpfTextCreationListener.cs (2)
32private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext,
DocumentationComments\CopilotGenerateDocumentationCommentManager.cs (2)
24private readonly IThreadingContext _threadingContext; 29public CopilotGenerateDocumentationCommentManager([Import(AllowDefault = true)] SuggestionServiceBase? suggestionServiceBase, IThreadingContext threadingContext,
DocumentationComments\CopilotGenerateDocumentationCommentProvider.cs (2)
31public readonly IThreadingContext ThreadingContext; 37public CopilotGenerateDocumentationCommentProvider(IThreadingContext threadingContext, ICopilotCodeAnalysisService copilotService)
DocumentationComments\DocumentationCommentSuggestion.cs (2)
37var threadingContext = providerInstance.ThreadingContext; 51var threadingContext = providerInstance.ThreadingContext;
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
32IThreadingContext threadingContext,
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (2)
18IThreadingContext threadingContext, 21private readonly IThreadingContext _threadingContext = threadingContext;
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (2)
24IThreadingContext threadingContext, 28private readonly IThreadingContext _threadingContext = threadingContext;
Extensibility\NavigationBar\AbstractEditorNavigationBarItemService.cs (2)
20protected readonly IThreadingContext ThreadingContext; 22protected AbstractEditorNavigationBarItemService(IThreadingContext threadingContext)
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (1)
39IThreadingContext threadingContext,
ExternalAccess\VSTypeScript\VSTypeScriptNavigationBarItemService.cs (2)
25IThreadingContext threadingContext, 28private readonly IThreadingContext _threadingContext = threadingContext;
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (2)
21private readonly IThreadingContext _threadingContext; 23protected AbstractExtractInterfaceCommandHandler(IThreadingContext threadingContext)
ExtractMethod\ExtractMethodCommandHandler.cs (2)
38private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
Formatting\FormatCommandHandler.cs (2)
40IThreadingContext threadingContext, 50private readonly IThreadingContext _threadingContext = threadingContext;
GoOrFind\AbstractGoOrFindNavigationService.cs (2)
30IThreadingContext threadingContext, 37private readonly IThreadingContext _threadingContext = threadingContext;
GoOrFind\FindReferences\FindReferencesNavigationService.cs (1)
23IThreadingContext threadingContext,
GoOrFind\GoToBase\GoToBaseNavigationService.cs (1)
24IThreadingContext threadingContext,
GoOrFind\GoToImplementation\GoToImplementationNavigationService.cs (1)
24IThreadingContext threadingContext,
GoToDefinition\GoToDefinitionCommandHandler.cs (2)
34IThreadingContext threadingContext, 38private readonly IThreadingContext _threadingContext = threadingContext;
GoToDefinition\GoToDefinitionHelpers.cs (2)
19IThreadingContext threadingContext, 33IThreadingContext threadingContext,
Host\IStreamingFindReferencesPresenter.cs (2)
68IThreadingContext threadingContext, 86IThreadingContext threadingContext,
InlineDiagnostics\InlineDiagnosticsAdornmentManager.cs (1)
31IThreadingContext threadingContext,
InlineDiagnostics\InlineDiagnosticsAdornmentManagerProvider.cs (1)
39IThreadingContext threadingContext,
InlineHints\InlineHintsKeyProcessorProvider.cs (2)
29private readonly IThreadingContext _threadingContext; 36IThreadingContext threadingContext)
InlineHints\InlineHintsTag.cs (1)
261var threadingContext = _taggerProvider.ThreadingContext;
InlineHints\InlineHintsTaggerProvider.cs (2)
37IThreadingContext threadingContext, 50public readonly IThreadingContext ThreadingContext = threadingContext;
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
19IThreadingContext threadingContext,
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
35IThreadingContext threadingContext,
InlineRename\InlineRenameService.cs (3)
31IThreadingContext threadingContext, 39private readonly IThreadingContext _threadingContext = threadingContext; 117IThreadingContext threadingContext, IInlineRenameInfo renameInfo, Document document, CancellationToken cancellationToken)
InlineRename\InlineRenameSession.cs (2)
49private readonly IThreadingContext _threadingContext; 129IThreadingContext threadingContext,
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (2)
31private readonly IThreadingContext _threadingContext; 37IThreadingContext threadingContext,
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (1)
47IThreadingContext threadingContext,
InlineRename\UI\InlineRenameAdornmentManager.cs (2)
28private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
InlineRename\UI\InlineRenameAdornmentProvider.cs (2)
34private readonly IThreadingContext _threadingContext; 62IThreadingContext threadingContext,
InlineRename\UI\SmartRename\SmartRenameViewModel.cs (2)
35private readonly IThreadingContext _threadingContext; 145IThreadingContext 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)
63private readonly IThreadingContext _threadingContext; 72IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (2)
25IThreadingContext threadingContext, 31private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\IDocumentProvider.cs (2)
20internal sealed class DocumentProvider(IThreadingContext threadingContext) : IDocumentProvider 22private readonly IThreadingContext _threadingContext = threadingContext;
IntelliSense\ImportCompletionCacheService\EditorExtensionMethodImportCompletionCacheServiceFactory.cs (1)
21IThreadingContext threadingContext)
IntelliSense\ImportCompletionCacheService\EditorTypeImportCompletionCacheServiceFactory.cs (1)
21IThreadingContext threadingContext)
IntelliSense\ModelComputation.cs (2)
24public readonly IThreadingContext ThreadingContext; 51IThreadingContext 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)
33IThreadingContext threadingContext, 41private readonly IThreadingContext _threadingContext = threadingContext;
Interactive\InteractiveDocumentNavigationService.cs (2)
20private readonly IThreadingContext _threadingContext; 22public InteractiveDocumentNavigationService(IThreadingContext threadingContext)
Interactive\InteractiveDocumentNavigationServiceFactory.cs (1)
21public InteractiveDocumentNavigationServiceFactory(IThreadingContext threadingContext)
Interactive\InteractiveEvaluator.cs (2)
36private readonly IThreadingContext _threadingContext; 63IThreadingContext threadingContext,
IWpfDifferenceViewerExtensions.cs (3)
21private sealed class SizeToFitHelper(IThreadingContext threadingContext, IWpfDifferenceViewer diffViewer, double minWidth) 23private readonly IThreadingContext _threadingContext = threadingContext; 124public static Task SizeToFitAsync(this IWpfDifferenceViewer diffViewer, IThreadingContext threadingContext, double minWidth = 400.0, CancellationToken cancellationToken = default)
IWpfTextViewExtensions.cs (1)
14public static void SizeToFit(this IWpfTextView view, IThreadingContext 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,
LineSeparators\LineSeparatorAdornmentManager.cs (1)
17public LineSeparatorAdornmentManager(IThreadingContext threadingContext, IWpfTextView textView,
LineSeparators\LineSeparatorAdornmentManagerProvider.cs (1)
43IThreadingContext threadingContext,
NavigableSymbols\NavigableSymbolService.cs (2)
24private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
NavigateTo\NavigateToHelpers.cs (2)
19IThreadingContext threadingContext, 31IThreadingContext threadingContext,
NavigateTo\NavigateToItemDisplay.cs (2)
27private readonly IThreadingContext _threadingContext; 34IThreadingContext threadingContext,
NavigateTo\NavigateToItemDisplayFactory.cs (2)
15private readonly IThreadingContext _threadingContext; 20IThreadingContext threadingContext,
NavigateTo\NavigateToItemProvider.cs (2)
24private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
Navigation\AbstractDefinitionLocationService.cs (2)
24IThreadingContext threadingContext, 27private 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)
38IThreadingContext threadingContext, 44private readonly IThreadingContext _threadingContext = threadingContext;
PasteTracking\PasteTrackingService.cs (2)
21internal sealed class PasteTrackingService(IThreadingContext threadingContext) : IPasteTrackingService 23private readonly IThreadingContext _threadingContext = threadingContext;
Peek\DefinitionPeekableItem.cs (2)
24private readonly IThreadingContext _threadingContext; 31IThreadingContext threadingContext)
Peek\IPeekableItemFactory.cs (1)
35IThreadingContext threadingContext) : PeekableItemFactory(metadataAsSourceFileService, globalOptions, threadingContext);
Peek\PeekableItemFactory.cs (2)
31private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext)
Peek\PeekableItemSource.cs (2)
28private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext,
Peek\PeekableItemSourceProvider.cs (2)
24private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext,
Preview\AbstractPreviewFactoryService.cs (2)
38IThreadingContext threadingContext, 66protected readonly IThreadingContext ThreadingContext = threadingContext;
Preview\PreviewFactoryService.cs (1)
33IThreadingContext threadingContext,
Preview\SolutionPreviewResult.cs (3)
18IThreadingContext threadingContext, 22private readonly IThreadingContext _threadingContext = threadingContext; 26public SolutionPreviewResult(IThreadingContext threadingContext, SolutionPreviewItem preview, SolutionChangeSummary? changeSummary = null)
QuickInfo\ContentControlService.cs (2)
28private readonly IThreadingContext _threadingContext; 37IThreadingContext threadingContext,
QuickInfo\LazyToolTip.cs (3)
25private readonly IThreadingContext _threadingContext; 31IThreadingContext threadingContext, 53public static void AttachTo(FrameworkElement element, IThreadingContext threadingContext, Func<DisposableToolTip> createToolTip)
QuickInfo\OnTheFlyDocsView.xaml.cs (2)
45private readonly IThreadingContext _threadingContext; 78IThreadingContext threadingContext,
QuickInfo\OnTheFlyDocsViewFactory.cs (2)
33IThreadingContext threadingContext, 39private readonly IThreadingContext _threadingContext = threadingContext;
QuickInfo\ProjectionBufferContent.cs (3)
26private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext, 53IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.cs (2)
40IThreadingContext threadingContext, 45private readonly IThreadingContext _threadingContext = threadingContext;
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (4)
27private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext, 110private sealed class RenameTrackingCommitterOperation(RenameTrackingCommitter committer, IThreadingContext threadingContext) : CodeActionOperation 113private readonly IThreadingContext _threadingContext = threadingContext;
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (2)
37public readonly IThreadingContext ThreadingContext; 57IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
45private 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)
11public static void ThrowIfNotOnUIThread(this IThreadingContext threadingContext) 14public static void ThrowIfNotOnBackgroundThread(this IThreadingContext threadingContext)
Shared\Extensions\WorkspaceExtensions.cs (1)
22this Workspace workspace, IThreadingContext threadingContext, Document newDocument, CancellationToken cancellationToken)
Shared\Tagging\EventSources\TaggerEventSources.cs (1)
57public static ITaggerEventSource OnViewSpanChanged(IThreadingContext threadingContext, ITextView textView)
Shared\Tagging\EventSources\TaggerEventSources.ViewSpanChangedEventSource.cs (2)
16private readonly IThreadingContext _threadingContext; 21public 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;
SignatureHelp\AbstractSignatureHelpCommandHandler.cs (2)
19protected readonly IThreadingContext ThreadingContext; 24IThreadingContext threadingContext,
SignatureHelp\Controller.cs (2)
42IThreadingContext threadingContext, 59IThreadingContext threadingContext,
SignatureHelp\Presentation\SignatureHelpPresenter.cs (2)
26private readonly IThreadingContext _threadingContext; 31public SignatureHelpPresenter(IThreadingContext threadingContext, ISignatureHelpBroker sigHelpBroker)
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (2)
25IThreadingContext threadingContext, 29private readonly IThreadingContext _threadingContext = threadingContext;
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpSource.cs (1)
16private sealed class SignatureHelpSource(IThreadingContext threadingContext) : ISignatureHelpSource
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (1)
47IThreadingContext threadingContext,
SignatureHelp\SignatureHelpControllerProvider.cs (2)
28IThreadingContext threadingContext, 37private readonly IThreadingContext _threadingContext = threadingContext;
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (2)
32private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext,
SpellCheck\RoslynSpellCheckFixerProvider.cs (2)
30IThreadingContext threadingContext) : ISpellCheckFixerProvider 32private readonly IThreadingContext _threadingContext = threadingContext;
StringIndentation\StringIndentationAdornmentManager.cs (1)
22IThreadingContext threadingContext,
StringIndentation\StringIndentationAdornmentManagerProvider.cs (1)
43IThreadingContext threadingContext,
Structure\StructureTaggerProvider.cs (1)
46IThreadingContext threadingContext,
Suggestions\Copilot\FlavoredSuggestedAction.cs (1)
27IThreadingContext threadingContext,
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
21IThreadingContext threadingContext,
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
27IThreadingContext threadingContext,
Suggestions\SuggestedActions\AbstractFixAllSuggestedAction.cs (1)
26IThreadingContext threadingContext,
Suggestions\SuggestedActions\CodeFixSuggestedAction.cs (1)
26IThreadingContext threadingContext,
Suggestions\SuggestedActions\CodeRefactoringSuggestedAction.cs (1)
24IThreadingContext threadingContext,
Suggestions\SuggestedActions\FixAllCodeFixSuggestedAction.cs (1)
24IThreadingContext threadingContext,
Suggestions\SuggestedActions\FixAllCodeRefactoringSuggestedAction.cs (1)
21IThreadingContext threadingContext,
Suggestions\SuggestedActions\SuggestedAction.cs (2)
38protected readonly IThreadingContext ThreadingContext; 51IThreadingContext threadingContext,
Suggestions\SuggestedActionsSource.cs (2)
37private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext,
Suggestions\SuggestedActionsSourceProvider.cs (2)
49private readonly IThreadingContext _threadingContext; 63IThreadingContext threadingContext,
Suggestions\SuggestedActionWithNestedActions.cs (2)
28IThreadingContext threadingContext, 43IThreadingContext threadingContext,
Suggestions\SuggestedActionWithNestedFlavors.cs (1)
40IThreadingContext threadingContext,
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
41protected IThreadingContext ThreadingContext => _taggerHost.ThreadingContext;
Tagging\AsynchronousViewportTaggerProvider.cs (1)
46protected 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)
27private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext)
Workspaces\ITextBufferVisibilityTracker.cs (1)
47IThreadingContext threadingContext,
Workspaces\WpfTextBufferVisibilityTracker.cs (1)
23IThreadingContext threadingContext)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
NavigateTo\AbstractNavigateToTests.cs (2)
82workspace.GetService<IThreadingContext>(), 156workspace.GetService<IThreadingContext>(),
SpellCheck\AbstractSpellCheckFixerProviderTests.cs (2)
37var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>();
Workspaces\EditorTestHostDocument.cs (2)
169var threadingContext = workspace.GetService<IThreadingContext>();
Workspaces\EditorTestWorkspace.cs (2)
221var threadingContext = ExportProvider.GetExportedValue<IThreadingContext>();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
FindReferences\FindReferencesCommandHandlerTests.cs (1)
70workspace.ExportProvider.GetExportedValue<IThreadingContext>(),
RenameTracking\RenameTrackingTestState.cs (1)
98Workspace.GetService<IThreadingContext>(),
Microsoft.CodeAnalysis.ExternalAccess.FSharp (5)
Internal\Editor\FSharpNavigationBarItemService.cs (2)
29private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext,
Navigation\FSharpDocumentNavigationService.cs (1)
20internal class FSharpDocumentNavigationService(IThreadingContext threadingContext)
VS\IFSharpWorkspaceProjectContextFactory.cs (2)
44private readonly IThreadingContext _threadingContext; 48public FSharpWorkspaceProjectContextFactory(IWorkspaceProjectContextFactory factory, IThreadingContext threadingContext)
Microsoft.VisualStudio.LanguageServices (214)
CallHierarchy\CallHierarchyCommandHandler.cs (2)
34IThreadingContext threadingContext, 40private readonly IThreadingContext _threadingContext = threadingContext;
CallHierarchy\CallHierarchyProvider.cs (2)
35public IThreadingContext ThreadingContext { get; } 41IThreadingContext threadingContext,
ChangeSignature\VisualStudioChangeSignatureOptionsService.cs (2)
22IThreadingContext threadingContext) : IChangeSignatureOptionsService 26private readonly IThreadingContext _threadingContext = threadingContext;
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
36IThreadingContext threadingContext, 40private readonly IThreadingContext _threadingContext = threadingContext;
CodeDefinitionWindow\VisualStudioCodeDefinitionWindowService.cs (2)
23private readonly IThreadingContext _threadingContext; 27public VisualStudioCodeDefinitionWindowService(IVsService<SVsCodeDefView, IVsCodeDefView> codeDefView, IThreadingContext threadingContext)
CodeLens\CodeLensCallbackListener.cs (2)
47private readonly IThreadingContext _threadingContext; 54IThreadingContext threadingContext,
ColorSchemes\ColorSchemeApplier.cs (2)
27private readonly IThreadingContext _threadingContext; 42IThreadingContext threadingContext,
ColorSchemes\ColorSchemeApplier.Settings.cs (2)
27private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext,
DesignerAttribute\VisualStudioDesignerAttributeService.cs (2)
37private readonly IThreadingContext _threadingContext; 69IThreadingContext threadingContext,
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.Factory.cs (2)
21private readonly IThreadingContext _threadingContext; 28public Factory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (3)
38IThreadingContext threadingContext, 49private readonly IThreadingContext _threadingContext = threadingContext; 252var threadingContext = service._threadingContext;
DocumentOutline\DocumentOutlineView.xaml.cs (2)
37private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
DocumentOutline\DocumentOutlineViewModel.cs (2)
40private readonly IThreadingContext _threadingContext; 62IThreadingContext threadingContext,
EditorConfigSettings\SettingsEditorControl.xaml.cs (2)
28private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
EditorConfigSettings\SettingsEditorFactory.cs (2)
83var threadingContext = componentModel.GetService<IThreadingContext>();
EditorConfigSettings\SettingsEditorPane.cs (2)
35private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext,
EditorConfigSettings\SettingsEditorPane.SearchHandler.cs (2)
18private readonly IThreadingContext _threadingContext; 23public SearchHandler(IThreadingContext threadingContext, int controlMinWidth, int controlMaxWidth, IWpfTableControl[] wpfTableControls)
EditorConfigSettings\SettingsEditorPane.SearchTask.cs (2)
18private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext)
ErrorReporting\VisualStudioErrorReportingService.cs (2)
22private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
ErrorReporting\VisualStudioInfoBar.cs (2)
22IThreadingContext threadingContext, 28private readonly IThreadingContext _threadingContext = threadingContext;
Extensions\VsTextSpanExtensions.cs (2)
19IThreadingContext threadingContext, 37IThreadingContext threadingContext,
ExternalAccess\UnitTesting\VisualStudioGlobalOperationNotificationService.cs (1)
18IThreadingContext threadingContext,
ExtractClass\VisualStudioExtractClassOptionsService.cs (2)
33IThreadingContext threadingContext, 37private readonly IThreadingContext _threadingContext = threadingContext;
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (2)
30IThreadingContext threadingContext, 34private readonly IThreadingContext _threadingContext = threadingContext;
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (2)
65protected readonly IThreadingContext ThreadingContext; 128IThreadingContext threadingContext)
FindReferences\Contexts\WithoutReferencesFindUsagesContext.cs (1)
33IThreadingContext threadingContext)
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
38IThreadingContext threadingContext)
FindReferences\Entries\AbstractDocumentSpanEntry.cs (1)
35IThreadingContext threadingContext)
FindReferences\Entries\DefinitionItemEntry.cs (1)
29IThreadingContext threadingContext)
FindReferences\Entries\DocumentSpanEntry.cs (2)
56IThreadingContext threadingContext) 84IThreadingContext threadingContext)
FindReferences\Entries\MetadataDefinitionItemEntry.cs (1)
24IThreadingContext threadingContext)
FindReferences\RoslynDefinitionBucket.cs (3)
30private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext) 63IThreadingContext threadingContext)
FindReferences\StreamingFindUsagesPresenter.cs (4)
51private readonly IThreadingContext ThreadingContext; 66IThreadingContext threadingContext, 93exportProvider.GetExportedValue<IThreadingContext>(), 107IThreadingContext threadingContext,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (2)
29IThreadingContext threadingContext) : IExternalDefinitionItemProvider 76IThreadingContext threadingContext,
Implementation\AbstractEditorFactory.cs (2)
250var threadingContext = _componentModel.GetService<IThreadingContext>();
Implementation\AbstractOleCommandTarget.cs (2)
39protected IThreadingContext ThreadingContext => ComponentModel.GetService<IThreadingContext>();
Implementation\VsRefactorNotifyService.cs (2)
26private readonly IThreadingContext _threadingContext; 30public VsRefactorNotifyService(IThreadingContext threadingContext)
InheritanceMargin\InheritanceGlyphFactory.cs (2)
27private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext,
InheritanceMargin\InheritanceGlyphFactoryProvider.cs (2)
30private readonly IThreadingContext _threadingContext; 42IThreadingContext threadingContext,
InheritanceMargin\InheritanceGlyphManager.cs (2)
38private readonly IThreadingContext _threadingContext; 55IThreadingContext threadingContext,
InheritanceMargin\InheritanceMarginViewMargin.cs (2)
31private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (2)
34private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext,
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (2)
24private readonly IThreadingContext _threadingContext; 31IThreadingContext threadingContext,
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
32private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext,
Interop\CleanableWeakComHandleTable.cs (2)
32private readonly IThreadingContext _threadingContext; 48public CleanableWeakComHandleTable(IThreadingContext threadingContext, int? cleanUpThreshold = null, TimeSpan? cleanUpTimeSlice = null)
KeybindingReset\KeybindingResetDetector.cs (2)
63private readonly IThreadingContext _threadingContext; 91IThreadingContext threadingContext,
LanguageService\AbstractCreateServicesOnTextViewConnection.cs (1)
46IThreadingContext threadingContext,
LanguageService\AbstractLanguageService`2.cs (2)
90private IThreadingContext ThreadingContext => this.Package.ComponentModel.GetService<IThreadingContext>();
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (4)
245var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>(); 278var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>();
LanguageService\AbstractLanguageService`2.VsLanguageDebugInfo.cs (1)
56private IThreadingContext ThreadingContext => _languageService.ThreadingContext;
Library\AbstractLibraryManager.cs (2)
16public readonly IThreadingContext ThreadingContext; 25ThreadingContext = componentModel.GetService<IThreadingContext>();
Library\ClassView\AbstractSyncClassViewCommandHandler.cs (2)
22IThreadingContext threadingContext, 26private readonly IThreadingContext _threadingContext = threadingContext;
NavigateTo\RoslynSearchItemsSourceProvider.cs (2)
38private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext,
NavigateTo\VisualStudioNavigateToItemProviderFactory.cs (2)
22private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
NavigationBar\NavigationBarClient.cs (1)
49serviceProvider.GetMefService<IThreadingContext>(),
Packaging\PackageInstallerServiceFactory.cs (1)
98IThreadingContext threadingContext,
PdbSourceDocument\PdbSourceDocumentOutputWindowLogger.cs (2)
28private readonly IThreadingContext _threadingContext; 36public PdbSourceDocumentOutputWindowLogger(SVsServiceProvider serviceProvider, IThreadingContext threadingContext, IAsynchronousOperationListenerProvider listenerProvider)
ProjectSystem\FileChangeWatcherProvider.cs (1)
24IThreadingContext threadingContext,
ProjectSystem\InvisibleEditor.cs (2)
30private readonly IThreadingContext _threadingContext; 41_threadingContext = serviceProvider.GetMefService<IThreadingContext>();
ProjectSystem\Legacy\AbstractLegacyProject.cs (2)
68IThreadingContext threadingContext, 310protected readonly IThreadingContext ThreadingContext;
ProjectSystem\Legacy\SolutionEventsBatchScopeCreator.cs (2)
28internal sealed class SolutionEventsBatchScopeCreator(IThreadingContext threadingContext, [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider) 32private readonly IThreadingContext _threadingContext = threadingContext;
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (4)
24private readonly IThreadingContext _threadingContext; 29public VisualStudioFrameworkAssemblyPathResolverFactory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider) 38private sealed class Service(IThreadingContext threadingContext, VisualStudioWorkspace? workspace, IServiceProvider serviceProvider) : IFrameworkAssemblyPathResolver 40private readonly IThreadingContext _threadingContext = threadingContext;
ProjectSystem\MiscellaneousFilesWorkspace.cs (2)
32private readonly IThreadingContext _threadingContext; 56IThreadingContext threadingContext,
ProjectSystem\OpenTextBufferProvider.cs (2)
35private readonly IThreadingContext _threadingContext; 55IThreadingContext threadingContext,
ProjectSystem\RuleSets\RuleSetEventHandler.cs (2)
25private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
ProjectSystem\RuleSets\VisualStudioRuleSetManager.cs (2)
15private readonly IThreadingContext _threadingContext; 22IThreadingContext threadingContext,
ProjectSystem\RuleSets\VisualStudioRuleSetManagerFactory.cs (2)
18private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
ProjectSystem\VisualStudioProjectFactory.cs (2)
33private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext,
ProjectSystem\VisualStudioProjectManagementService.cs (2)
25internal sealed class VisualStudioProjectManagementService(IThreadingContext threadingContext) : IProjectManagementService 27private readonly IThreadingContext _threadingContext = threadingContext;
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
66private readonly IThreadingContext _threadingContext; 126_threadingContext = exportProvider.GetExportedValue<IThreadingContext>();
Remote\VisualStudioRemoteHostClientProvider.cs (4)
41private readonly IThreadingContext _threadingContext; 54IThreadingContext threadingContext, 103private readonly IThreadingContext _threadingContext; 110IThreadingContext threadingContext,
RoslynPackage.cs (1)
53internal static async ValueTask<RoslynPackage?> GetOrLoadAsync(IThreadingContext threadingContext, IAsyncServiceProvider serviceProvider, CancellationToken cancellationToken)
Shared\VisualStudioImageIdService.cs (2)
41internal sealed class VisualStudioImageIdService(IThreadingContext threadingContext, SVsServiceProvider serviceProvider) : IImageIdService 45private readonly IThreadingContext _threadingContext = threadingContext;
Snippets\AbstractSnippetCommandHandler.cs (2)
30IThreadingContext threadingContext, 40protected readonly IThreadingContext ThreadingContext = threadingContext;
Snippets\AbstractSnippetExpansionLanguageHelper.cs (2)
25internal abstract class AbstractSnippetExpansionLanguageHelper(IThreadingContext threadingContext) 28protected readonly IThreadingContext ThreadingContext = threadingContext;
Snippets\AbstractSnippetInfoService.cs (2)
44private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext,
Snippets\SnippetExpansionClient.cs (2)
63private readonly IThreadingContext _threadingContext; 92IThreadingContext threadingContext,
Snippets\SnippetExpansionClientFactory.cs (2)
29IThreadingContext threadingContext, 37private readonly IThreadingContext _threadingContext = threadingContext;
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (2)
18private readonly IThreadingContext _threadingContext; 22public AbstractSnippetFunction(SnippetExpansionClient snippetExpansionClient, ITextBuffer subjectBuffer, IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionClassName.cs (1)
21public SnippetFunctionClassName(SnippetExpansionClient snippetExpansionClient, ITextBuffer subjectBuffer, string fieldName, IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (1)
29IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (1)
27IThreadingContext threadingContext)
StackTraceExplorer\StackFrameViewModel.cs (2)
33IThreadingContext threadingContext, 39private readonly IThreadingContext _threadingContext = threadingContext;
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (2)
22private readonly IThreadingContext _threadingContext; 30_threadingContext = package.ComponentModel.GetService<IThreadingContext>();
StackTraceExplorer\StackTraceExplorerRootViewModel.cs (2)
22private readonly IThreadingContext _threadingContext; 24public StackTraceExplorerRootViewModel(IThreadingContext threadingContext, VisualStudioWorkspace workspace, IClassificationFormatMap formatMap, ClassificationTypeMap typeMap)
StackTraceExplorer\StackTraceExplorerTab.cs (1)
24public StackTraceExplorerTab(IThreadingContext threadingContext, VisualStudioWorkspace workspace, IClassificationFormatMap formatMap, ClassificationTypeMap typeMap, int nameIndex)
StackTraceExplorer\StackTraceExplorerToolWindow.cs (2)
127var threadingContext = roslynPackage.ComponentModel.GetService<IThreadingContext>();
StackTraceExplorer\StackTraceExplorerViewModel.cs (2)
17private readonly IThreadingContext _threadingContext; 48public StackTraceExplorerViewModel(IThreadingContext threadingContext, Workspace workspace, ClassificationTypeMap classificationTypeMap, IClassificationFormatMap formatMap)
SymbolSearch\AbstractDelayStartedService.cs (2)
27protected readonly IThreadingContext ThreadingContext; 54IThreadingContext threadingContext,
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
42IThreadingContext threadingContext,
SyncNamespaces\SyncNamespacesCommandHandler.cs (2)
33private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext)
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (2)
36private readonly IThreadingContext _threadingContext; 52IThreadingContext threadingContext,
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
43IThreadingContext threadingContext, 52private readonly IThreadingContext _threadingContext = threadingContext;
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
70IThreadingContext threadingContext)
Telemetry\FileLogger.cs (1)
37public FileLogger(IGlobalOptionService optionService, IThreadingContext threadingContext)
Telemetry\VisualStudioWorkspaceTelemetryService.cs (2)
25IThreadingContext threadingContext, 30private readonly IThreadingContext _threadingContext = threadingContext;
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (2)
35private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
Utilities\VsCodeWindowViewTracker.cs (2)
30private readonly IThreadingContext _threadingContext; 40public VsCodeWindowViewTracker(IVsCodeWindow codeWindow, IThreadingContext threadingContext, IVsEditorAdaptersFactoryService editorAdaptersFactoryService)
ValueTracking\TreeItemViewModel.cs (2)
28protected IThreadingContext ThreadingContext { get; } 53IThreadingContext threadingContext,
ValueTracking\ValueTrackedTreeItemViewModel.cs (2)
53IThreadingContext threadingContext, 100IThreadingContext threadingContext,
ValueTracking\ValueTrackingCommandHandler.cs (2)
39private readonly IThreadingContext _threadingContext; 53IThreadingContext threadingContext,
ValueTracking\ValueTrackingToolWindow.cs (2)
24private IThreadingContext? _threadingContext; 58public void Initialize(ValueTrackingTreeViewModel viewModel, Workspace workspace, IThreadingContext threadingContext)
Workspace\GlobalUndoServiceFactory.cs (3)
30IThreadingContext threadingContext, 43private readonly IThreadingContext _threadingContext; 49public GlobalUndoService(IThreadingContext threadingContext, ITextUndoHistoryRegistry undoHistoryRegistry, SVsServiceProvider serviceProvider, Lazy<VisualStudioWorkspace> lazyVSWorkspace)
Workspace\GlobalUndoServiceFactory.WorkspaceGlobalUndoTransaction.cs (2)
25private readonly IThreadingContext _threadingContext; 36IThreadingContext threadingContext,
Workspace\SourceGeneratedFileManager.cs (2)
47private readonly IThreadingContext _threadingContext; 81IThreadingContext threadingContext,
Workspace\VisualStudioActiveDocumentTracker.cs (2)
34private readonly IThreadingContext _threadingContext; 50IThreadingContext threadingContext,
Workspace\VisualStudioDocumentNavigationService.cs (3)
38IThreadingContext threadingContext, 48private readonly IThreadingContext _threadingContext = threadingContext; 284IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, CancellationToken cancellationToken)
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (2)
42private readonly IThreadingContext _threadingContext; 48public VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Workspace\VisualStudioSymbolNavigationService.cs (2)
35IThreadingContext threadingContext, 42private readonly IThreadingContext _threadingContext = threadingContext;
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (3)
29IThreadingContext threadingContext, 50private readonly IThreadingContext _threadingContext; 68public Service(IAsyncServiceProvider2 serviceProvider, IThreadingContext threadingContext, IAsynchronousOperationListener listener)
Microsoft.VisualStudio.LanguageServices.CSharp (23)
CodeModel\CSharpCodeModelService.cs (1)
47IThreadingContext threadingContext)
CodeModel\CSharpCodeModelServiceFactory.cs (2)
23private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext)
Interactive\CSharpVsInteractiveWindowProvider.cs (2)
28private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext,
Interactive\OpenInteractiveWindowCommand.cs (2)
19MefInjection<IThreadingContext> mefThreadingContext, 30var threadingContext = await mefThreadingContext.GetServiceAsync().ConfigureAwait(false);
Interactive\ResetInteractiveWindowFromProjectCommand.cs (2)
24MefInjection<IThreadingContext> mefThreadingContext, 44var threadingContext = await mefThreadingContext.GetServiceAsync().ConfigureAwait(false);
LanguageService\CSharpCodeCleanupFixer.cs (1)
22IThreadingContext threadingContext,
LanguageService\CSharpCreateServicesOnTextViewConnection.cs (1)
35IThreadingContext threadingContext)
LanguageService\CSharpLanguageService_ICSharpProjectHost.cs (1)
26this.Package.ComponentModel.GetService<IThreadingContext>());
LanguageService\CSharpOptionPageService.cs (2)
22private readonly IThreadingContext _threadingContext; 26public CSharpOptionPageService(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
ObjectBrowser\CSharpSyncClassViewCommandHandler.cs (1)
25public CSharpSyncClassViewCommandHandler(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Options\CSharpVisualStudioCopilotOptionsService.cs (1)
70IThreadingContext threadingContext)
ProjectSystemShim\CSharpProjectShim.cs (1)
53IThreadingContext threadingContext)
SemanticSearch\SemanticSearchPresenterController.cs (1)
28IThreadingContext threadingContext) : ISemanticSearchPresenterController
SemanticSearch\SemanticSearchToolWindowController.cs (1)
26IThreadingContext threadingContext,
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
55IThreadingContext threadingContext,
Snippets\CSharpSnippetExpansionLanguageHelper.cs (1)
38IThreadingContext threadingContext)
Snippets\CSharpSnippetInfoService.cs (1)
30IThreadingContext threadingContext,
Snippets\SnippetCommandHandler.cs (1)
40IThreadingContext threadingContext,
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
CodeModel\FileCodeModelTestHelpers.cs (2)
46var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>();
DocumentOutline\DocumentOutlineTestsBase.cs (4)
43IThreadingContext threadingContext, 56internal IThreadingContext ThreadingContext { get; } 75var threadingContext = workspace.GetService<IThreadingContext>();
Microsoft.VisualStudio.LanguageServices.LiveShare (4)
Client\RemoteLanguageServiceWorkspace.cs (2)
51private readonly IThreadingContext _threadingContext; 85IThreadingContext threadingContext)
Client\RemoteLanguageServiceWorkspaceHost.cs (2)
43private readonly IThreadingContext _threadingContext; 56IThreadingContext threadingContext)
Microsoft.VisualStudio.LanguageServices.Xaml (5)
Features\Peek\IXamlPeekableItemFactory.cs (1)
33IThreadingContext threadingContext) : PeekableItemFactory(metadataAsSourceFileService, globalOptions, threadingContext);
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
37IThreadingContext threadingContext,
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
39IThreadingContext threadingContext,
Implementation\XamlProjectService.cs (2)
36private readonly IThreadingContext _threadingContext; 52IThreadingContext threadingContext)
Roslyn.VisualStudio.DiagnosticsWindow (7)
Loggers\OutputWindowLogger.cs (2)
56private readonly IThreadingContext _threadingContext; 68_threadingContext = componentModel.GetService<IThreadingContext>();
OptionPages\PerformanceLoggersPage.cs (3)
29private IThreadingContext _threadingContext; 39_threadingContext = componentModel.GetService<IThreadingContext>(); 55public static void SetLoggers(IGlobalOptionService globalOptions, IThreadingContext threadingContext, SolutionServices workspaceServices)
VisualStudioDiagnosticsWindowPackage.cs (2)
37private IThreadingContext _threadingContext; 78_threadingContext = componentModel.GetService<IThreadingContext>();