1 implementation of IThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
26internal sealed class ThreadingContext : IThreadingContext, IDisposable
781 references to IThreadingContext
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (2)
46private IThreadingContext _threadingContext; 140_threadingContext = exportProvider.GetExportedValue<IThreadingContext>();
Microsoft.CodeAnalysis.CSharp.EditorFeatures (13)
AddImports\CSharpAddImportsPasteCommandHandler.cs (1)
33public CSharpAddImportsPasteCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions, IAsynchronousOperationListenerProvider listnerProvider)
ChangeSignature\CSharpChangeSignatureCommandHandler.cs (1)
23public CSharpChangeSignatureCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions)
EncapsulateField\EncapsulateFieldCommandHandler.cs (1)
27IThreadingContext threadingContext,
EventHookup\EventHookupCommandHandler.cs (2)
43private readonly IThreadingContext _threadingContext; 56IThreadingContext threadingContext,
EventHookup\EventHookupSessionManager.cs (2)
27public readonly IThreadingContext ThreadingContext; 41IThreadingContext threadingContext,
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
44private readonly IThreadingContext _threadingContext;
ExtractInterface\ExtractInterfaceCommandHandler.cs (1)
24public ExtractInterfaceCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions)
GoToDefinition\CSharpAsyncGoToDefinitionService.cs (1)
20IThreadingContext threadingContext,
NavigationBar\CSharpEditorNavigationBarItemService.cs (1)
23public CSharpEditorNavigationBarItemService(IThreadingContext threadingContext)
StringCopyPaste\StringCopyPasteCommandHandler.cs (2)
59private readonly IThreadingContext _threadingContext; 70IThreadingContext threadingContext,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
Classification\CopyPasteAndPrintingClassifierTests.cs (1)
38workspace.GetService<IThreadingContext>(),
Classification\SemanticClassifierTests.cs (1)
2497workspace.GetService<IThreadingContext>(),
Classification\SyntacticTaggerTests.cs (2)
47workspace.GetService<IThreadingContext>(), 105workspace.GetService<IThreadingContext>(),
CodeActions\Preview\PreviewExceptionTests.cs (3)
73workspace.ExportProvider.GetExportedValue<IThreadingContext>(), 86workspace.ExportProvider.GetExportedValue<IThreadingContext>(), 99workspace.ExportProvider.GetExportedValue<IThreadingContext>(),
EventHookup\EventHookupTestState.cs (1)
36Workspace.GetService<IThreadingContext>(),
Interactive\BraceMatching\InteractiveBraceHighlightingTests.cs (1)
41workspace.ExportProvider.GetExportedValue<IThreadingContext>(),
Organizing\OrganizeTypeDeclarationTests.cs (1)
1184workspace.GetService<IThreadingContext>(),
QuickInfo\SyntacticQuickInfoSourceTests.cs (2)
566var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>();
Microsoft.CodeAnalysis.EditorFeatures (157)
AddImports\AbstractAddImportsPasteCommandHandler.cs (2)
41private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
49private readonly IThreadingContext _threadingContext; 55EditorOptionsService editorOptionsService, IBraceCompletionService service, IThreadingContext threadingContext)
AutomaticCompletion\BraceCompletionSessionProvider.cs (2)
37private readonly IThreadingContext _threadingContext; 45IThreadingContext threadingContext,
BraceMatching\BraceHighlightingViewTaggerProvider.cs (1)
43IThreadingContext threadingContext,
BracePairs\BracePairsTaggerProvider.cs (1)
41IThreadingContext threadingContext,
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (2)
26private readonly IThreadingContext _threadingContext; 29protected AbstractChangeSignatureCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (2)
33private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext,
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (1)
44IThreadingContext threadingContext,
Classification\Semantic\EmbeddedLanguageClassificationViewTaggerProvider.cs (1)
28IThreadingContext threadingContext,
Classification\Semantic\SemanticClassificationViewTaggerProvider.cs (1)
30IThreadingContext threadingContext,
Classification\Syntactic\SyntacticClassificationTaggerProvider.cs (2)
29private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext,
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.LastLineCache.cs (2)
29private readonly IThreadingContext _threadingContext; 31public LastLineCache(IThreadingContext threadingContext)
CodeActions\CodeActionEditHandlerService.cs (2)
31private readonly IThreadingContext _threadingContext; 39IThreadingContext threadingContext,
CodeDefinitionWindow\DefinitionContextTracker.cs (2)
47private readonly IThreadingContext _threadingContext; 58IThreadingContext threadingContext,
Diagnostics\AbstractDiagnosticsAdornmentTaggerProvider.cs (1)
20IThreadingContext threadingContext,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.cs (1)
38IThreadingContext threadingContext,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PullDiagnosticsTaggerProvider.cs (1)
34IThreadingContext threadingContext,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PushDiagnosticsTaggerProvider.cs (1)
48IThreadingContext threadingContext,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (1)
50IThreadingContext threadingContext,
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (1)
45IThreadingContext threadingContext,
Diagnostics\DiagnosticsSquiggleTaggerProvider.cs (1)
36IThreadingContext threadingContext,
Diagnostics\DiagnosticsSuggestionTaggerProvider.cs (1)
36IThreadingContext threadingContext,
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
46IThreadingContext threadingContext,
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (2)
28private readonly IThreadingContext _threadingContext; 36IThreadingContext threadingContext,
Extensibility\NavigationBar\AbstractEditorNavigationBarItemService.cs (2)
21protected readonly IThreadingContext ThreadingContext; 23protected AbstractEditorNavigationBarItemService(IThreadingContext threadingContext)
ExternalAccess\VSTypeScript\Api\VSTypeScriptAsynchronousTaggerProvider.cs (2)
19IThreadingContext threadingContext, 27IThreadingContext threadingContext,
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (1)
45IThreadingContext threadingContext,
ExternalAccess\VSTypeScript\VSTypeScriptNavigationBarItemService.cs (2)
25private readonly IThreadingContext _threadingContext; 31IThreadingContext threadingContext,
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (2)
24private readonly IThreadingContext _threadingContext; 27protected AbstractExtractInterfaceCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions)
ExtractMethod\ExtractMethodCommandHandler.cs (2)
46private readonly IThreadingContext _threadingContext; 55IThreadingContext threadingContext,
GoToBase\GoToBaseCommandHandler.cs (1)
33IThreadingContext threadingContext,
GoToDefinition\AbstractGoToCommandHandler`2.cs (2)
34private readonly IThreadingContext _threadingContext; 67IThreadingContext threadingContext,
GoToDefinition\AbstractGoToDefinitionService.cs (2)
24private readonly IThreadingContext _threadingContext; 28IThreadingContext threadingContext,
GoToDefinition\GoToDefinitionCommandHandler.cs (2)
35private readonly IThreadingContext _threadingContext; 43IThreadingContext threadingContext,
GoToDefinition\GoToDefinitionHelpers.cs (2)
112IThreadingContext threadingContext, 126IThreadingContext threadingContext,
GoToImplementation\GoToImplementationCommandHandler.cs (1)
33IThreadingContext threadingContext,
Host\IStreamingFindReferencesPresenter.cs (2)
58IThreadingContext threadingContext, 76IThreadingContext threadingContext,
InlineHints\InlineHintsDataTaggerProvider.cs (1)
54IThreadingContext threadingContext,
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (2)
20private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
InlineRename\InlineRenameService.cs (3)
31private readonly IThreadingContext _threadingContext; 47IThreadingContext threadingContext, 137IThreadingContext threadingContext, IInlineRenameInfo renameInfo, Document document, CancellationToken cancellationToken)
InlineRename\InlineRenameSession.cs (2)
55private readonly IThreadingContext _threadingContext; 131IThreadingContext threadingContext,
IntelliSense\AbstractController.cs (2)
22protected readonly IThreadingContext ThreadingContext; 41IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CommitManager.cs (2)
40private readonly IThreadingContext _threadingContext; 63IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CommitManagerProvider.cs (2)
22private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CompletionSource.cs (2)
66private readonly IThreadingContext _threadingContext; 76IThreadingContext threadingContext,
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (2)
24private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
IntelliSense\Helpers.cs (1)
194IThreadingContext threadingContext,
IntelliSense\IDocumentProvider.cs (2)
22private readonly IThreadingContext _threadingContext; 24public DocumentProvider(IThreadingContext threadingContext)
IntelliSense\ImportCompletionCacheService\EditorExtensionMethodImportCompletionCacheServiceFactory.cs (1)
22public EditorExtensionMethodImportCompletionCacheServiceFactory(IAsynchronousOperationListenerProvider listenerProvider, IThreadingContext threadingContext)
IntelliSense\ImportCompletionCacheService\EditorTypeImportCompletionCacheServiceFactory.cs (1)
22public EditorTypeImportCompletionCacheServiceFactory(IAsynchronousOperationListenerProvider listenerProvider, IThreadingContext threadingContext)
IntelliSense\ModelComputation.cs (2)
23public readonly IThreadingContext ThreadingContext; 60IThreadingContext threadingContext,
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (1)
149IThreadingContext threadingContext,
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilderContext.cs (2)
24IThreadingContext? threadingContext, 41public IThreadingContext? ThreadingContext { get; }
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (2)
27private readonly IThreadingContext _threadingContext; 37IThreadingContext threadingContext,
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (2)
37private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
Interactive\InteractiveSession.cs (2)
38private readonly IThreadingContext _threadingContext; 81IThreadingContext threadingContext,
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
52IThreadingContext threadingContext,
LanguageServer\AbstractInProcLanguageClient.cs (2)
29private readonly IThreadingContext _threadingContext; 107IThreadingContext threadingContext,
LanguageServer\AlwaysActivateInProcLanguageClient.cs (1)
48IThreadingContext threadingContext,
LanguageServer\LiveShareInProcLanguageClient.cs (1)
39IThreadingContext threadingContext,
LanguageServer\RazorInProcLanguageClient.cs (1)
54IThreadingContext threadingContext,
NavigateTo\NavigateToHelpers.cs (2)
19IThreadingContext threadingContext, 31IThreadingContext threadingContext,
Navigation\IDocumentNavigationServiceExtensions.cs (7)
15this INavigableLocation? location, IThreadingContext threadingContext, NavigationOptions options, CancellationToken cancellationToken) 30this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, NavigationOptions options, bool allowInvalidSpan, CancellationToken cancellationToken) 37this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, NavigationOptions options, CancellationToken cancellationToken) 44this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken) 51this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int position, int virtualSpace, NavigationOptions options, CancellationToken cancellationToken) 58this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int position, CancellationToken cancellationToken) 66this IDocumentNavigationService service, IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, int lineNumber, int offset, NavigationOptions options, CancellationToken cancellationToken)
NavigationBar\NavigationBarController.cs (2)
35private readonly IThreadingContext _threadingContext; 82IThreadingContext threadingContext,
NavigationBar\NavigationBarControllerFactoryService.cs (2)
19private readonly IThreadingContext _threadingContext; 27IThreadingContext threadingContext,
Organizing\OrganizeDocumentCommandHandler.cs (2)
40private readonly IThreadingContext _threadingContext; 45public OrganizeDocumentCommandHandler(IThreadingContext threadingContext, IGlobalOptionService globalOptions)
PasteTracking\PasteTrackingService.cs (2)
22private readonly IThreadingContext _threadingContext; 27public PasteTrackingService(IThreadingContext threadingContext)
Preview\AbstractPreviewFactoryService.cs (2)
45protected readonly IThreadingContext ThreadingContext; 50IThreadingContext threadingContext,
Preview\SolutionPreviewResult.cs (3)
18private readonly IThreadingContext _threadingContext; 22public SolutionPreviewResult(IThreadingContext threadingContext, SolutionPreviewItem preview, SolutionChangeSummary? changeSummary = null) 28IThreadingContext threadingContext,
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (1)
55IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.cs (2)
43private readonly IThreadingContext _threadingContext; 52IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (4)
26private readonly IThreadingContext _threadingContext; 34IThreadingContext threadingContext, 112private readonly IThreadingContext _threadingContext; 114public RenameTrackingCommitterOperation(RenameTrackingCommitter committer, IThreadingContext threadingContext)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (2)
37public readonly IThreadingContext ThreadingContext; 59IThreadingContext threadingContext,
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
43private readonly IThreadingContext _threadingContext;
Shared\Extensions\ITextSnapshotExtensions.cs (2)
61/// <see cref="GetFullyLoadedOpenDocumentInCurrentContextWithChanges(ITextSnapshot, IUIThreadOperationContext, IThreadingContext)"/>. 96this 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)
62public static ITaggerEventSource OnViewSpanChanged(IThreadingContext threadingContext, ITextView textView)
Shared\Tagging\EventSources\TaggerEventSources.ViewSpanChangedEventSource.cs (2)
19private readonly IThreadingContext _threadingContext; 24public ViewSpanChangedEventSource(IThreadingContext threadingContext, ITextView textView)
Shared\Utilities\ForegroundThreadAffinitizedObject.cs (3)
19private readonly IThreadingContext _threadingContext; 21internal IThreadingContext ThreadingContext => _threadingContext; 23public ForegroundThreadAffinitizedObject(IThreadingContext threadingContext, bool assertIsForeground = false)
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)
23public ThreadingContextTaskSchedulerProvider(IThreadingContext threadingContext)
Shared\Utilities\WorkspaceThreadingService.cs (2)
17private readonly IThreadingContext _threadingContext; 21public WorkspaceThreadingService(IThreadingContext threadingContext)
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (2)
26private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
SpellCheck\RoslynSpellCheckFixerProvider.cs (2)
29private readonly IThreadingContext _threadingContext; 34IThreadingContext threadingContext)
Structure\AbstractStructureTaggerProvider.cs (1)
54IThreadingContext threadingContext,
Tagging\AbstractAsynchronousTaggerProvider.cs (2)
39protected readonly IThreadingContext ThreadingContext; 119IThreadingContext threadingContext,
Tagging\AsynchronousTaggerProvider.cs (1)
19IThreadingContext threadingContext,
Tagging\AsynchronousViewTaggerProvider.cs (1)
20IThreadingContext threadingContext,
Workspaces\AbstractTextBufferVisibilityTracker.cs (2)
26private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext)
Workspaces\ITextBufferVisibilityTracker.cs (1)
45IThreadingContext threadingContext,
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (39)
AbstractFixAllSuggestedAction.cs (1)
28IThreadingContext threadingContext,
AbstractSignatureHelpCommandHandler.cs (1)
25IThreadingContext threadingContext,
AsyncSuggestedActionsSource.cs (1)
37IThreadingContext threadingContext,
CodeFixSuggestedAction.cs (1)
26IThreadingContext threadingContext,
CodeRefactoringSuggestedAction.cs (1)
24IThreadingContext threadingContext,
Controller.cs (2)
42IThreadingContext threadingContext, 59IThreadingContext threadingContext,
FixAllCodeFixSuggestedAction.cs (1)
25IThreadingContext threadingContext,
FixAllCodeRefactoringSuggestedAction.cs (1)
21IThreadingContext threadingContext,
NavigableSymbolService.cs (2)
26private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
NavigationCommandHandlers\FindReferencesOfOverloadsCommandHandler.cs (2)
37private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext)
Preview\ICocoaDifferenceViewerExtensions.cs (3)
24private readonly IThreadingContext _threadingContext; 31public SizeToFitHelper(IThreadingContext threadingContext, ICocoaDifferenceViewer diffViewer, double minWidth) 130public static Task SizeToFitAsync(this ICocoaDifferenceViewer diffViewer, IThreadingContext threadingContext, double minWidth = 400.0, CancellationToken cancellationToken = default)
Preview\PreviewFactoryService.cs (1)
29IThreadingContext threadingContext,
PreviewChangesSuggestedAction.cs (1)
23IThreadingContext threadingContext,
RenameCommandHandler.cs (1)
39IThreadingContext threadingContext,
SignatureHelpAfterCompletionCommandHandler.cs (1)
55IThreadingContext threadingContext,
SignatureHelpBeforeCompletionCommandHandler.cs (1)
54IThreadingContext threadingContext,
SignatureHelpControllerProvider.cs (1)
39IThreadingContext threadingContext,
SignatureHelpPresenter.cs (2)
26private readonly IThreadingContext _threadingContext; 31public SignatureHelpPresenter(IThreadingContext threadingContext, ISignatureHelpBroker sigHelpBroker)
SignatureHelpPresenter.SignatureHelpPresenterSession.cs (1)
42IThreadingContext threadingContext,
SignatureHelpPresenter.SignatureHelpSource.cs (1)
17public SignatureHelpSource(IThreadingContext threadingContext)
Snippets\AbstractSnippetCommandHandler.cs (2)
33protected readonly IThreadingContext ThreadingContext; 41IThreadingContext threadingContext,
Snippets\CSharpSnippets\SnippetCommandHandler.cs (1)
41IThreadingContext threadingContext,
Structure\StructureTaggerProvider.cs (1)
28IThreadingContext threadingContext,
SuggestedAction.cs (1)
47IThreadingContext threadingContext,
SuggestedActionsSource.cs (1)
48IThreadingContext threadingContext,
SuggestedActionsSourceProvider.cs (2)
53private readonly IThreadingContext _threadingContext; 67IThreadingContext threadingContext,
SuggestedActionWithNestedActions.cs (2)
29IThreadingContext threadingContext, 44IThreadingContext threadingContext,
SuggestedActionWithNestedFlavors.cs (1)
39IThreadingContext threadingContext,
SyncSuggestedActionsSource.cs (1)
18IThreadingContext threadingContext,
Workspaces\CocoaTextBufferVisibilityTracker.cs (1)
22IThreadingContext threadingContext)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (11)
BraceHighlighting\AbstractBraceHighlightingTests.cs (1)
45workspace.GetService<IThreadingContext>(),
Diagnostics\DiagnosticTaggerWrapper.cs (2)
31private readonly IThreadingContext _threadingContext; 42_threadingContext = workspace.GetService<IThreadingContext>();
NavigateTo\AbstractNavigateToTests.cs (2)
82workspace.GetService<IThreadingContext>(), 156workspace.GetService<IThreadingContext>(),
SpellCheck\AbstractSpellCheckFixerProviderTests.cs (2)
36var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>();
Workspaces\TestHostDocument.cs (2)
276var threadingContext = workspace.GetService<IThreadingContext>();
Workspaces\TestWorkspace.cs (2)
828var threadingContext = ExportProvider.GetExportedValue<IThreadingContext>();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
RenameTracking\RenameTrackingTestState.cs (1)
103Workspace.GetService<IThreadingContext>(),
Tagging\AsynchronousTaggerTests.cs (2)
67workspace.GetService<IThreadingContext>(), 156IThreadingContext threadingContext,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (79)
Adornments\AbstractAdornmentManager.cs (2)
30private readonly IThreadingContext _threadingContext; 60IThreadingContext threadingContext,
Adornments\AbstractAdornmentManagerProvider.cs (2)
22protected readonly IThreadingContext ThreadingContext; 28IThreadingContext threadingContext,
BackgroundWorkIndicator\BackgroundWorkIndicatorContext.cs (1)
75private IThreadingContext ThreadingContext => _factory._threadingContext;
BackgroundWorkIndicator\WpfBackgroundWorkIndicatorFactory.cs (2)
23private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext,
InlineDiagnostics\InlineDiagnosticsAdornmentManager.cs (1)
34IThreadingContext threadingContext,
InlineDiagnostics\InlineDiagnosticsAdornmentManagerProvider.cs (1)
39IThreadingContext threadingContext,
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
44IThreadingContext threadingContext,
InlineHints\InlineHintsTag.cs (1)
268var threadingContext = _taggerProvider.ThreadingContext;
InlineHints\InlineHintsTaggerProvider.cs (2)
35public readonly IThreadingContext ThreadingContext; 49IThreadingContext threadingContext,
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
39IThreadingContext threadingContext,
Interactive\InteractiveDocumentNavigationService.cs (2)
21private readonly IThreadingContext _threadingContext; 23public InteractiveDocumentNavigationService(IThreadingContext threadingContext)
Interactive\InteractiveDocumentNavigationServiceFactory.cs (1)
21public InteractiveDocumentNavigationServiceFactory(IThreadingContext threadingContext)
Interactive\InteractiveEvaluator.cs (2)
39private readonly IThreadingContext _threadingContext; 66IThreadingContext threadingContext,
IWpfDifferenceViewerExtensions.cs (2)
30public SizeToFitHelper(IThreadingContext threadingContext, IWpfDifferenceViewer diffViewer, double minWidth) 131public 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)
LineSeparators\LineSeparatorAdornmentManager.cs (1)
18public LineSeparatorAdornmentManager(IThreadingContext threadingContext, IWpfTextView textView,
LineSeparators\LineSeparatorAdornmentManagerProvider.cs (1)
43IThreadingContext threadingContext,
LineSeparators\LineSeparatorTaggerProvider.cs (1)
55IThreadingContext threadingContext,
NavigableSymbols\NavigableSymbolService.cs (2)
26private readonly IThreadingContext _threadingContext; 33IThreadingContext 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)
26private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext,
Peek\DefinitionPeekableItem.cs (2)
25private readonly IThreadingContext _threadingContext; 32IThreadingContext threadingContext)
Peek\PeekableItemFactory.cs (2)
33private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext)
Peek\PeekableItemSource.cs (2)
30private readonly IThreadingContext _threadingContext; 37IThreadingContext threadingContext,
Peek\PeekableItemSourceProvider.cs (2)
25private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
Preview\PreviewFactoryService.cs (1)
31IThreadingContext threadingContext,
QuickInfo\ContentControlService.cs (2)
30private readonly IThreadingContext _threadingContext; 39IThreadingContext threadingContext,
QuickInfo\LazyToolTip.cs (2)
29IThreadingContext threadingContext, 49public static void AttachTo(FrameworkElement element, IThreadingContext threadingContext, Func<DisposableToolTip> createToolTip)
QuickInfo\ProjectionBufferContent.cs (2)
35IThreadingContext threadingContext, 53IThreadingContext threadingContext,
SignatureHelp\AbstractSignatureHelpCommandHandler.cs (1)
25IThreadingContext 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 (1)
42IThreadingContext threadingContext,
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpSource.cs (1)
17public SignatureHelpSource(IThreadingContext threadingContext)
SignatureHelp\SignatureHelpAfterCompletionCommandHandler.cs (1)
55IThreadingContext threadingContext,
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (1)
54IThreadingContext threadingContext,
SignatureHelp\SignatureHelpControllerProvider.cs (1)
39IThreadingContext threadingContext,
StringIndentation\StringIndentationAdornmentManager.cs (1)
23IThreadingContext threadingContext,
StringIndentation\StringIndentationAdornmentManagerProvider.cs (1)
43IThreadingContext threadingContext,
StringIndentation\StringIndentationTaggerProvider.cs (1)
48IThreadingContext threadingContext,
Structure\StructureTaggerProvider.cs (2)
36IThreadingContext threadingContext, 57IThreadingContext threadingContext,
Suggestions\AsyncSuggestedActionsSource.cs (1)
37IThreadingContext threadingContext,
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
23IThreadingContext threadingContext,
Suggestions\SuggestedActions\AbstractFixAllSuggestedAction.cs (1)
28IThreadingContext threadingContext,
Suggestions\SuggestedActions\CodeFixSuggestedAction.cs (1)
26IThreadingContext threadingContext,
Suggestions\SuggestedActions\CodeRefactoringSuggestedAction.cs (1)
24IThreadingContext threadingContext,
Suggestions\SuggestedActions\FixAllCodeFixSuggestedAction.cs (1)
25IThreadingContext threadingContext,
Suggestions\SuggestedActions\FixAllCodeRefactoringSuggestedAction.cs (1)
21IThreadingContext threadingContext,
Suggestions\SuggestedActions\SuggestedAction.cs (1)
47IThreadingContext threadingContext,
Suggestions\SuggestedActionsSource.cs (1)
48IThreadingContext threadingContext,
Suggestions\SuggestedActionsSourceProvider.cs (2)
53private readonly IThreadingContext _threadingContext; 67IThreadingContext threadingContext,
Suggestions\SuggestedActionWithNestedActions.cs (2)
29IThreadingContext threadingContext, 44IThreadingContext threadingContext,
Suggestions\SuggestedActionWithNestedFlavors.cs (1)
39IThreadingContext threadingContext,
Suggestions\SyncSuggestedActionsSource.cs (1)
18IThreadingContext threadingContext,
Workspaces\WpfTextBufferVisibilityTracker.cs (1)
23IThreadingContext threadingContext)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (24)
Classification\ClassificationTests.vb (1)
264workspace.GetService(Of IThreadingContext),
GoToDefinition\GoToDefinitionCommandHandlerTests.vb (3)
62workspace.GetService(Of IThreadingContext), 104workspace.GetService(Of IThreadingContext), 149workspace.GetService(Of IThreadingContext),
GoToDefinition\GoToDefinitionTestsBase.vb (1)
41Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
IntelliSense\AbstractIntellisenseQuickInfoBuilderTests.vb (2)
49Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)() 78Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
IntelliSense\CSharpCompletionCommandHandlerTests.vb (2)
10297Private ReadOnly _threadingContext As IThreadingContext 10310Public Sub New(threadingContext As IThreadingContext)
IntelliSense\ModelTests.vb (6)
22Public Sub New(threadingContext As IThreadingContext, controller As IController(Of Model)) 26Friend Shared Function Create(threadingContext As IThreadingContext, Optional controller As IController(Of Model) = Nothing) As TestModelComputation 42Dim threadingContext = EditorTestCompositions.EditorFeatures.ExportProviderFactory.CreateExportProvider().GetExportedValue(Of IThreadingContext) 58Dim threadingContext = EditorTestCompositions.EditorFeatures.ExportProviderFactory.CreateExportProvider().GetExportedValue(Of IThreadingContext) 73Dim threadingContext = EditorTestCompositions.EditorFeatures.ExportProviderFactory.CreateExportProvider().GetExportedValue(Of IThreadingContext) 96Dim threadingContext = EditorTestCompositions.EditorFeatures.ExportProviderFactory.CreateExportProvider().GetExportedValue(Of IThreadingContext)
IntelliSense\SessionTests.vb (2)
21Dim threadingContext = exportProvider.GetExportedValue(Of IThreadingContext) 38Dim threadingContext = exportProvider.GetExportedValue(Of IThreadingContext)
IntelliSense\SignatureHelpControllerTests.vb (2)
154Dim threadingContext = workspace.GetService(Of IThreadingContext)() 287Dim threadingContext = workspace.GetService(Of IThreadingContext)
KeywordHighlighting\AbstractKeywordHighlightingTests.vb (1)
37workspace.GetService(Of IThreadingContext),
NavigableSymbols\NavigableSymbolsTest.vb (1)
118Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
Peek\PeekTests.vb (1)
278workspace.GetService(Of IThreadingContext),
ReferenceHighlighting\AbstractReferenceHighlightingTests.vb (1)
32workspace.GetService(Of IThreadingContext),
Rename\RenameTestHelpers.vb (1)
112workspace.GetService(Of IThreadingContext),
Microsoft.CodeAnalysis.ExternalAccess.Debugger (1)
DebuggerFindReferencesService.cs (1)
26IThreadingContext threadingContext,
Microsoft.CodeAnalysis.ExternalAccess.FSharp (6)
Internal\Editor\FSharpNavigationBarItemService.cs (2)
28private readonly IThreadingContext _threadingContext; 34IThreadingContext threadingContext,
Navigation\FSharpDocumentNavigationService.cs (2)
21private readonly IThreadingContext _threadingContext; 26IThreadingContext threadingContext)
VS\IFSharpWorkspaceProjectContextFactory.cs (2)
47private readonly IThreadingContext _threadingContext; 51public FSharpWorkspaceProjectContextFactory(IWorkspaceProjectContextFactory factory, IThreadingContext threadingContext)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (9)
AddImports\VisualBasicAddImportsOnPasteCommandHandler.vb (1)
25Public Sub New(threadingContext As [Shared].Utilities.IThreadingContext,
ChangeSignature\VisualBasicChangeSignatureCommandHandler.vb (1)
22Public Sub New(threadingContext As IThreadingContext, globalOptions As IGlobalOptionService)
EncapsulateField\EncapsulateFieldCommandHandler.vb (1)
26Public Sub New(threadingContext As IThreadingContext,
ExtractInterface\ExtractInterfaceCommandHandler.vb (1)
23Public Sub New(threadingContext As IThreadingContext, globalOptions As IGlobalOptionService)
GoToDefinition\VisualBasicAsyncGoToDefinitionService.vb (1)
20Public Sub New(threadingContext As IThreadingContext,
LineCommit\CommitBufferManager.vb (1)
45threadingContext As IThreadingContext)
LineCommit\CommitBufferManagerFactory.vb (2)
15Private ReadOnly _threadingContext As IThreadingContext 19Public Sub New(commitFormatter As ICommitFormatter, inlineRenameService As IInlineRenameService, threadingContext As IThreadingContext)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
32threadingContext As IThreadingContext,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (7)
BraceMatching\BraceHighlightingTests.vb (1)
31workspace.ExportProvider.GetExportedValue(Of IThreadingContext),
ChangeSignature\RemoveParametersTests.vb (1)
118workspace.GetService(Of IThreadingContext),
EncapsulateField\EncapsulateFieldCommandHandlerTests.vb (1)
156workspace.GetService(Of IThreadingContext),
EncapsulateField\EncapsulateFieldTestState.vb (1)
36Workspace.ExportProvider.GetExportedValue(Of IThreadingContext)(),
ExtractInterface\ExtractInterfaceTests.vb (1)
1290workspace.GetService(Of IThreadingContext),
LineCommit\CommitTestData.vb (1)
62Dim commitManagerFactory As New CommitBufferManagerFactory(_formatter, _inlineRenameService, workspace.GetService(Of IThreadingContext))
Organizing\OrganizeTypeDeclarationTests.vb (1)
944Dim handler = New OrganizeDocumentCommandHandler(workspace.GetService(Of IThreadingContext), workspace.GlobalOptions)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestExportJoinableTaskContext+DenyExecutionSynchronizationContext.cs (1)
146=> throw new InvalidOperationException($"Code cannot switch to the main thread without configuring the {nameof(IThreadingContext)}.");
Microsoft.VisualStudio.LanguageServices (258)
CallHierarchy\CallHierarchyCommandHandler.cs (2)
37private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
CallHierarchy\CallHierarchyProvider.cs (2)
37public IThreadingContext ThreadingContext { get; } 43IThreadingContext threadingContext,
ChangeSignature\VisualStudioChangeSignatureOptionsService.cs (1)
26IThreadingContext threadingContext) : base(threadingContext)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
47private readonly IThreadingContext _threadingContext; 53IThreadingContext threadingContext,
CodeDefinitionWindow\VisualStudioCodeDefinitionWindowService.cs (2)
25private readonly IThreadingContext _threadingContext; 32public VisualStudioCodeDefinitionWindowService(SVsServiceProvider asyncServiceProvider, IThreadingContext threadingContext)
CodeLens\CodeLensCallbackListener.cs (2)
43private readonly IThreadingContext _threadingContext; 50IThreadingContext threadingContext,
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (2)
63private readonly IThreadingContext _threadingContext; 74IThreadingContext threadingContext,
ColorSchemes\ColorSchemeApplier.cs (2)
30private readonly IThreadingContext _threadingContext; 45IThreadingContext threadingContext,
ColorSchemes\ColorSchemeApplier.Settings.cs (2)
28private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
DesignerAttribute\VisualStudioDesignerAttributeService.cs (1)
65IThreadingContext threadingContext,
Diagnostics\DiagnosticProgressReporter.cs (2)
37private readonly IThreadingContext _threadingContext; 90IThreadingContext threadingContext,
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.Factory.cs (2)
22private readonly IThreadingContext _threadingContext; 29public Factory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (4)
41private readonly IThreadingContext _threadingContext; 54IThreadingContext threadingContext, 428private readonly IThreadingContext _threadingContext; 439public StatusBarUpdater(IVsStatusbar statusBar, IThreadingContext threadingContext, string? projectOrSolutionName, uint totalProjectCount)
DocumentOutline\DocumentOutlineControl.xaml.cs (2)
33private readonly IThreadingContext _threadingContext; 88IThreadingContext threadingContext,
DocumentOutline\DocumentOutlineHelper.cs (1)
261public static ImmutableArray<DocumentSymbolUIItem> GetDocumentSymbolUIItems(ImmutableArray<DocumentSymbolData> documentSymbolData, IThreadingContext threadingContext)
DocumentOutline\DocumentSymbolUIItem.cs (2)
20private readonly IThreadingContext _threadingContext; 66public DocumentSymbolUIItem(DocumentSymbolData documentSymbolData, ImmutableArray<DocumentSymbolUIItem> children, IThreadingContext threadingContext)
EditorConfigSettings\SettingsEditorControl.xaml.cs (2)
28private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
EditorConfigSettings\SettingsEditorFactory.cs (2)
37private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext)
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)
21private readonly IThreadingContext _threadingContext; 29IThreadingContext threadingContext,
ErrorReporting\VisualStudioInfoBar.cs (2)
21private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext,
Extensions\VsTextSpanExtensions.cs (1)
21IThreadingContext threadingContext,
ExtractClass\VisualStudioExtractClassOptionsService.cs (2)
33private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext,
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (2)
36private readonly IThreadingContext _threadingContext; 41public VisualStudioExtractInterfaceOptionsService(IGlyphService glyphService, IThreadingContext threadingContext, IUIThreadOperationExecutor uiThreadOperationExecutor)
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (2)
62protected readonly IThreadingContext ThreadingContext; 125IThreadingContext threadingContext)
FindReferences\Contexts\WithoutReferencesFindUsagesContext.cs (1)
36IThreadingContext threadingContext)
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
40IThreadingContext threadingContext)
FindReferences\Entries\DocumentSpanEntry.cs (3)
47private readonly IThreadingContext _threadingContext; 65IThreadingContext threadingContext) 121IThreadingContext threadingContext)
FindReferences\Entries\MetadataDefinitionItemEntry.cs (2)
22private readonly IThreadingContext _threadingContext; 27IThreadingContext threadingContext)
FindReferences\RoslynDefinitionBucket.cs (3)
30private readonly IThreadingContext _threadingContext; 45IThreadingContext threadingContext) 61IThreadingContext threadingContext)
FindReferences\StreamingFindUsagesPresenter.cs (3)
67IThreadingContext threadingContext, 94exportProvider.GetExportedValue<IThreadingContext>(), 108IThreadingContext threadingContext,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (4)
33private readonly IThreadingContext _threadingContext; 39IThreadingContext threadingContext) 89private readonly IThreadingContext _threadingContext; 99IThreadingContext threadingContext,
Implementation\AbstractEditorFactory.cs (2)
254var threadingContext = _componentModel.GetService<IThreadingContext>();
Implementation\VirtualMemoryNotificationListener.cs (1)
67IThreadingContext threadingContext,
Implementation\VisualStudioMetadataAsSourceFileSupportService.cs (2)
22private readonly IThreadingContext _threadingContext; 28IThreadingContext threadingContext,
Implementation\VsRefactorNotifyService.cs (2)
27private readonly IThreadingContext _threadingContext; 31public VsRefactorNotifyService(IThreadingContext threadingContext)
InheritanceMargin\InheritanceGlyphFactory.cs (2)
29private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext,
InheritanceMargin\InheritanceGlyphFactoryProvider.cs (2)
31private readonly IThreadingContext _threadingContext; 43IThreadingContext threadingContext,
InheritanceMargin\InheritanceGlyphManager.cs (2)
37private readonly IThreadingContext _threadingContext; 50IThreadingContext threadingContext,
InheritanceMargin\InheritanceMarginTaggerProvider.cs (1)
43IThreadingContext threadingContext,
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
48IThreadingContext threadingContext,
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (2)
35private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (2)
26private readonly IThreadingContext _threadingContext; 33IThreadingContext threadingContext,
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
31private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext,
Interactive\AbstractResetInteractiveMenuCommand.cs (2)
32private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext)
Interactive\CSharpResetInteractiveMenuCommand.cs (1)
23IThreadingContext threadingContext)
Interactive\VisualBasicResetInteractiveMenuCommand.cs (1)
23IThreadingContext threadingContext)
Interop\CleanableWeakComHandleTable.cs (1)
47public CleanableWeakComHandleTable(IThreadingContext threadingContext, int? cleanUpThreshold = null, TimeSpan? cleanUpTimeSlice = null)
KeybindingReset\KeybindingResetDetector.cs (1)
93IThreadingContext threadingContext,
LanguageClient\VisualStudioLogHubLoggerFactory.cs (2)
34private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext)
LanguageService\AbstractCreateServicesOnTextViewConnection.cs (1)
45IThreadingContext threadingContext,
LanguageService\AbstractLanguageService`2.cs (1)
272this.Package.ComponentModel.GetService<IThreadingContext>(),
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (4)
248var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>(); 278var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>();
LanguageService\AbstractLanguageService`2.VsLanguageDebugInfo.cs (2)
36private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
Library\ClassView\AbstractSyncClassViewCommandHandler.cs (1)
32IThreadingContext threadingContext,
NavigateTo\RoslynSearchItemsSourceProvider.cs (2)
39private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
NavigateTo\VisualStudioNavigateToItemProviderFactory.cs (2)
22private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext,
NavigationBar\NavigationBarClient.cs (1)
49serviceProvider.GetMefService<IThreadingContext>(),
Options\PackageSettingsPersister.cs (2)
20private readonly IThreadingContext _threadingContext; 26IThreadingContext threadingContext,
Options\PackageSettingsPersisterProvider.cs (2)
20private readonly IThreadingContext _threadingContext; 28IThreadingContext threadingContext,
Options\VisualStudioOptionPersisterProvider.cs (1)
39IThreadingContext threadingContext,
Packaging\PackageInstallerServiceFactory.cs (1)
96IThreadingContext threadingContext,
PdbSourceDocument\PdbSourceDocumentOutputWindowLogger.cs (2)
28private readonly IThreadingContext _threadingContext; 36public PdbSourceDocumentOutputWindowLogger(SVsServiceProvider serviceProvider, IThreadingContext threadingContext, IAsynchronousOperationListenerProvider listenerProvider)
Preview\PreviewEngine.cs (2)
46public PreviewEngine(IThreadingContext threadingContext, string title, string helpString, string description, string topLevelItemName, Glyph topLevelGlyph, Solution newSolution, Solution oldSolution, IComponentModel componentModel, bool showCheckBoxes = true) 52IThreadingContext threadingContext,
Preview\PreviewService.cs (1)
29public PreviewDialogService(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Preview\PreviewUpdater.cs (1)
25public PreviewUpdater(IThreadingContext threadingContext, ITextView textView)
Progression\GraphNavigatorExtension.cs (1)
32IThreadingContext threadingContext,
Progression\GraphProvider.cs (3)
30private readonly IThreadingContext _threadingContext; 41IThreadingContext threadingContext, 71IThreadingContext threadingContext,
Progression\GraphQueries\SearchGraphQuery.cs (2)
19private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
Progression\GraphQueryManager.cs (1)
39IThreadingContext threadingContext,
ProjectSystem\FileChangeWatcherProvider.cs (1)
24IThreadingContext threadingContext,
ProjectSystem\InvisibleEditor.cs (1)
43: base(serviceProvider.GetMefService<IThreadingContext>(), assertIsForeground: true)
ProjectSystem\Legacy\AbstractLegacyProject.cs (1)
66IThreadingContext threadingContext,
ProjectSystem\Legacy\SolutionEventsBatchScopeCreator.cs (1)
39public SolutionEventsBatchScopeCreator(IThreadingContext threadingContext, [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (3)
23private readonly IThreadingContext _threadingContext; 28public VisualStudioFrameworkAssemblyPathResolverFactory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider) 42public Service(IThreadingContext threadingContext, VisualStudioWorkspace? workspace, IServiceProvider serviceProvider)
ProjectSystem\MiscellaneousFilesWorkspace.cs (2)
39private readonly IThreadingContext _threadingContext; 66IThreadingContext threadingContext,
ProjectSystem\OpenTextBufferProvider.cs (2)
56IThreadingContext threadingContext, 96private async Task CheckForExistingOpenDocumentsAsync(IThreadingContext threadingContext)
ProjectSystem\RuleSets\RuleSetEventHandler.cs (2)
27private readonly IThreadingContext _threadingContext; 35IThreadingContext threadingContext,
ProjectSystem\RuleSets\VisualStudioRuleSetManager.cs (2)
18private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
ProjectSystem\RuleSets\VisualStudioRuleSetManagerFactory.cs (2)
18private readonly IThreadingContext _threadingContext; 25IThreadingContext threadingContext,
ProjectSystem\VisualStudioAddSolutionItemService.cs (2)
29private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext)
ProjectSystem\VisualStudioProjectFactory.cs (2)
36private readonly IThreadingContext _threadingContext; 46IThreadingContext threadingContext,
ProjectSystem\VisualStudioProjectManagementService.cs (1)
27public VisualStudioProjectManagementService(IThreadingContext threadingContext)
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
67private readonly IThreadingContext _threadingContext; 118_threadingContext = exportProvider.GetExportedValue<IThreadingContext>();
Remote\VisualStudioRemoteHostClientProvider.cs (4)
35private readonly IThreadingContext _threadingContext; 43IThreadingContext threadingContext, 74private readonly IThreadingContext _threadingContext; 82IThreadingContext threadingContext,
RoslynPackage.cs (3)
98internal static async ValueTask<RoslynPackage?> GetOrLoadAsync(IThreadingContext threadingContext, IAsyncServiceProvider serviceProvider, CancellationToken cancellationToken) 287var threadingContext = ComponentModel.GetService<IThreadingContext>();
Shared\VisualStudioImageIdService.cs (1)
52public VisualStudioImageIdService(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Snippets\AbstractSnippetCommandHandler.cs (1)
50IThreadingContext threadingContext,
Snippets\AbstractSnippetExpansionClient.cs (1)
91IThreadingContext threadingContext,
Snippets\AbstractSnippetInfoService.cs (2)
45private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (2)
21private readonly IThreadingContext _threadingContext; 25public AbstractSnippetFunction(AbstractSnippetExpansionClient snippetExpansionClient, ITextBuffer subjectBuffer, IThreadingContext threadingContext)
Snippets\SnippetFunctions\SnippetFunctionClassName.cs (1)
21public SnippetFunctionClassName(AbstractSnippetExpansionClient 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)
34private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext,
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (2)
22private readonly IThreadingContext _threadingContext; 30_threadingContext = package.ComponentModel.GetService<IThreadingContext>();
StackTraceExplorer\StackTraceExplorerRootViewModel.cs (2)
24private readonly IThreadingContext _threadingContext; 26public StackTraceExplorerRootViewModel(IThreadingContext threadingContext, VisualStudioWorkspace workspace, IClassificationFormatMap formatMap, ClassificationTypeMap typeMap)
StackTraceExplorer\StackTraceExplorerTab.cs (1)
26public StackTraceExplorerTab(IThreadingContext threadingContext, VisualStudioWorkspace workspace, IClassificationFormatMap formatMap, ClassificationTypeMap typeMap, int nameIndex)
StackTraceExplorer\StackTraceExplorerToolWindow.cs (2)
128var threadingContext = roslynPackage.ComponentModel.GetService<IThreadingContext>();
StackTraceExplorer\StackTraceExplorerViewModel.cs (2)
21private readonly IThreadingContext _threadingContext; 55public StackTraceExplorerViewModel(IThreadingContext threadingContext, Workspace workspace, ClassificationTypeMap classificationTypeMap, IClassificationFormatMap formatMap)
Storage\VisualStudioCloudCacheStorageService.cs (4)
28private readonly IThreadingContext _threadingContext; 32public ServiceFactory(SVsServiceProvider serviceProvider, IThreadingContext threadingContext) 43private readonly IThreadingContext _threadingContext; 45public VisualStudioCloudCacheStorageService(IAsyncServiceProvider serviceProvider, IThreadingContext threadingContext, IPersistentStorageConfiguration configuration)
SymbolSearch\AbstractDelayStartedService.cs (1)
53IThreadingContext threadingContext,
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
59IThreadingContext threadingContext,
SyncNamespaces\SyncNamespacesCommandHandler.cs (2)
35private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext)
TableDataSource\AbstractRoslynTableDataSource.cs (1)
20public AbstractRoslynTableDataSource(Workspace workspace, IThreadingContext threadingContext)
TableDataSource\AbstractTableDataSource.cs (2)
38public AbstractTableDataSource(Workspace workspace, IThreadingContext threadingContext) 55protected IThreadingContext ThreadingContext { get; }
TableDataSource\AbstractTableEntriesSnapshot.cs (2)
39protected AbstractTableEntriesSnapshot(IThreadingContext threadingContext, int version, ImmutableArray<TItem> items, ImmutableArray<ITrackingPoint> trackingPoints) 66protected IThreadingContext ThreadingContext { get; }
TableDataSource\MiscellaneousDiagnosticListTable.cs (3)
23private readonly IThreadingContext _threadingContext; 30IThreadingContext threadingContext, 48IThreadingContext threadingContext,
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (2)
36private readonly IThreadingContext _threadingContext; 52IThreadingContext threadingContext,
TableDataSource\Suppression\VisualStudioDiagnosticListTableCommandHandler.cs (2)
36private readonly IThreadingContext _threadingContext; 50IThreadingContext threadingContext,
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
47private readonly IThreadingContext _threadingContext; 66IThreadingContext threadingContext,
TableDataSource\TableEntriesFactory.cs (4)
31public TableEntriesFactory(IThreadingContext threadingContext, AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> entriesSource) 134private readonly IThreadingContext _threadingContext; 138public AggregatedEntriesSource(IThreadingContext threadingContext, AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> primary) 201public EmptySnapshot(IThreadingContext threadingContext, int version)
TableDataSource\TaskList\VisualStudioTaskListTable.cs (3)
35IThreadingContext threadingContext, 82public TableDataSource(Workspace workspace, IThreadingContext threadingContext, ITaskListProvider taskProvider, string identifier) 198public TableEntriesSnapshot(IThreadingContext threadingContext, int version, ImmutableArray<TaskListTableItem> items, ImmutableArray<ITrackingPoint> trackingPoints)
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (2)
63IThreadingContext threadingContext, 346IThreadingContext threadingContext,
TableDataSource\VisualStudioDiagnosticListTable.BuildTableDataSource.cs (3)
43public BuildTableDataSource(Workspace workspace, IThreadingContext threadingContext, ExternalErrorDiagnosticUpdateSource errorSource) 134IThreadingContext threadingContext, 233private static DocumentId? GetProperDocumentId(IThreadingContext threadingContext, DiagnosticTableItem item, CancellationToken cancellationToken)
TableDataSource\VisualStudioDiagnosticListTable.cs (7)
31private readonly IThreadingContext _threadingContext; 40IThreadingContext threadingContext, 90IThreadingContext threadingContext, 121IThreadingContext threadingContext, 134private VisualStudioDiagnosticListTable(Workspace workspace, IThreadingContext threadingContext, ExternalErrorDiagnosticUpdateSource errorSource, ITableManagerProvider provider) 203public static VisualStudioDiagnosticListTable Create(Workspace workspace, IGlobalOptionService globalOptions, IThreadingContext threadingContext, IDiagnosticService diagnosticService, ITableManagerProvider provider) 206public static VisualStudioDiagnosticListTable Create(Workspace workspace, IThreadingContext threadingContext, ExternalErrorDiagnosticUpdateSource errorSource, ITableManagerProvider provider)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
81IThreadingContext threadingContext)
TaskList\VisualStudioTaskListService.cs (2)
38private readonly IThreadingContext _threadingContext; 56IThreadingContext threadingContext,
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (2)
35private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
Utilities\VsCodeWindowViewTracker.cs (1)
41public VsCodeWindowViewTracker(IVsCodeWindow codeWindow, IThreadingContext threadingContext, IVsEditorAdaptersFactoryService editorAdaptersFactoryService)
ValueTracking\TreeItemViewModel.cs (2)
28protected IThreadingContext ThreadingContext { get; } 53IThreadingContext threadingContext,
ValueTracking\ValueTrackedTreeItemViewModel.cs (2)
52IThreadingContext threadingContext, 99IThreadingContext threadingContext,
ValueTracking\ValueTrackingCommandHandler.cs (2)
41private readonly IThreadingContext _threadingContext; 55IThreadingContext threadingContext,
ValueTracking\ValueTrackingToolWindow.cs (2)
30private IThreadingContext? _threadingContext; 65public void Initialize(ValueTrackingTreeViewModel viewModel, Workspace workspace, IThreadingContext threadingContext)
Venus\ContainedDocument.cs (1)
102IThreadingContext threadingContext,
Venus\ContainedLanguage.cs (1)
129ComponentModel.GetService<IThreadingContext>(),
Workspace\GlobalUndoServiceFactory.cs (3)
32IThreadingContext threadingContext, 45private readonly IThreadingContext _threadingContext; 51public GlobalUndoService(IThreadingContext threadingContext, ITextUndoHistoryRegistry undoHistoryRegistry, SVsServiceProvider serviceProvider, Lazy<VisualStudioWorkspace> lazyVSWorkspace)
Workspace\GlobalUndoServiceFactory.WorkspaceGlobalUndoTransaction.cs (1)
39IThreadingContext threadingContext,
Workspace\SourceGeneratedFileManager.cs (3)
40private readonly IThreadingContext _threadingContext; 71IThreadingContext threadingContext, 249public OpenSourceGeneratedFile(SourceGeneratedFileManager fileManager, ITextBuffer textBuffer, Workspace workspace, SourceGeneratedDocumentIdentity documentIdentity, IThreadingContext threadingContext)
Workspace\VisualStudioActiveDocumentTracker.cs (1)
49IThreadingContext threadingContext,
Workspace\VisualStudioDocumentNavigationService.cs (3)
43private readonly IThreadingContext _threadingContext; 49IThreadingContext threadingContext, 337IThreadingContext threadingContext, Workspace workspace, DocumentId documentId, CancellationToken cancellationToken)
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (2)
39private readonly IThreadingContext _threadingContext; 45public VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory(IThreadingContext threadingContext, SVsServiceProvider serviceProvider)
Workspace\VisualStudioSymbolNavigationService.cs (1)
46IThreadingContext threadingContext,
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (4)
31private readonly IThreadingContext _threadingContext; 39IThreadingContext threadingContext, 77private readonly IThreadingContext _threadingContext; 95public Service(IAsyncServiceProvider2 serviceProvider, IThreadingContext threadingContext, IAsynchronousOperationListener listener)
Microsoft.VisualStudio.LanguageServices.CSharp (18)
CodeModel\CSharpCodeModelService.cs (1)
46IThreadingContext threadingContext)
CodeModel\CSharpCodeModelServiceFactory.cs (2)
24private readonly IThreadingContext _threadingContext; 31IThreadingContext threadingContext)
Interactive\CSharpVsInteractiveWindowProvider.cs (2)
30private readonly IThreadingContext _threadingContext; 38IThreadingContext threadingContext,
LanguageService\CSharpCodeCleanupFixer.cs (1)
24public CSharpCodeCleanUpFixer(IThreadingContext threadingContext, VisualStudioWorkspaceImpl workspace, IVsHierarchyItemManager vsHierarchyItemManager, IGlobalOptionService globalOptions)
LanguageService\CSharpCreateServicesOnTextViewConnection.cs (1)
35IThreadingContext threadingContext)
LanguageService\CSharpLanguageService_ICSharpProjectHost.cs (1)
29this.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\AdvancedOptionPageControl.xaml.cs (2)
52private readonly IThreadingContext _threadingContext; 57_threadingContext = componentModel.GetService<IThreadingContext>();
Progression\CSharpGraphProvider.cs (1)
24IThreadingContext threadingContext,
ProjectSystemShim\CSharpProjectShim.cs (1)
54IThreadingContext threadingContext)
Snippets\CSharpSnippetInfoService.cs (1)
30IThreadingContext threadingContext,
Snippets\SnippetCommandHandler.cs (1)
53IThreadingContext threadingContext,
Snippets\SnippetExpansionClient.cs (1)
40IThreadingContext threadingContext,
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
CodeModel\FileCodeModelTestHelpers.cs (2)
46var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>();
DocumentOutline\DocumentOutlineTestsBase.cs (4)
51IThreadingContext threadingContext, 64internal IThreadingContext ThreadingContext { get; } 83var threadingContext = workspace.GetService<IThreadingContext>();
Microsoft.VisualStudio.LanguageServices.Implementation (27)
CodeModel\AbstractCodeModelService.cs (2)
55private readonly IThreadingContext _threadingContext; 63IThreadingContext threadingContext)
CodeModel\CodeModelProjectCache.cs (1)
37IThreadingContext threadingContext,
CodeModel\CodeModelState.cs (2)
22public IThreadingContext ThreadingContext { get; } 31IThreadingContext threadingContext,
CodeModel\ProjectCodeModel.cs (2)
24private readonly IThreadingContext _threadingContext; 34IThreadingContext threadingContext,
CodeModel\ProjectCodeModelFactory.cs (2)
38private readonly IThreadingContext _threadingContext; 50IThreadingContext threadingContext,
ProjectSystem\CPS\CPSProjectFactory.cs (2)
29private readonly IThreadingContext _threadingContext; 44IThreadingContext threadingContext,
RoslynVisualStudioWorkspace.cs (2)
36private readonly IThreadingContext _threadingContext; 48IThreadingContext threadingContext,
SolutionExplorer\AnalyzerItemTracker.cs (2)
26private readonly IThreadingContext _threadingContext; 35public AnalyzerItemsTracker(IThreadingContext threadingContext)
SolutionExplorer\AnalyzerNodeSetup.cs (2)
19private readonly IThreadingContext _threadingContext; 26IThreadingContext threadingContext,
SolutionExplorer\AnalyzersCommandHandler.cs (2)
46private readonly IThreadingContext _threadingContext; 84IThreadingContext threadingContext,
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItem.cs (4)
19private readonly IThreadingContext _threadingContext; 23IThreadingContext threadingContext, 59private readonly IThreadingContext _threadingContext; 61public InvocationControllerImpl(IThreadingContext threadingContext)
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSource.cs (2)
27private readonly IThreadingContext _threadingContext; 43public SourceGeneratedFileItemSource(SourceGeneratorItem parentGeneratorItem, Workspace workspace, IAsynchronousOperationListener asyncListener, IThreadingContext threadingContext)
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSourceProvider.cs (2)
25private readonly IThreadingContext _threadingContext; 29public SourceGeneratedFileItemSourceProvider(VisualStudioWorkspace workspace, IAsynchronousOperationListenerProvider asyncListenerProvider, IThreadingContext threadingContext)
Microsoft.VisualStudio.LanguageServices.LiveShare (5)
Client\RemoteDiagnosticListTable.cs (1)
36IThreadingContext threadingContext,
Client\RemoteLanguageServiceWorkspace.cs (2)
52private readonly IThreadingContext _threadingContext; 90IThreadingContext threadingContext)
Client\RemoteLanguageServiceWorkspaceHost.cs (2)
47private readonly IThreadingContext _threadingContext; 60IThreadingContext threadingContext)
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (4)
InProcess\WorkspaceInProcess.cs (4)
48var threadingContext = await GetComponentModelServiceAsync<IThreadingContext>(CancellationToken.None); 141var threadingContext = await GetComponentModelServiceAsync<IThreadingContext>(cancellationToken); 172private readonly IThreadingContext _threadingContext; 175public RunningDocumentTableEventListener(IThreadingContext threadingContext, IAsynchronousOperationListener asynchronousOperationListener)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (4)
CallHierarchy\CallHierarchyTestState.vb (1)
97Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
CodeModel\CodeModelTestHelpers.vb (1)
59Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)
ProjectSystemShim\Framework\TestEnvironment.vb (2)
82ThreadingContext = ExportProvider.GetExportedValue(Of IThreadingContext)() 134Public ReadOnly Property ThreadingContext As IThreadingContext
Microsoft.VisualStudio.LanguageServices.UnitTests (67)
ClassView\MockSyncClassViewCommandHandler.vb (1)
13Public Sub New(threadingContext As IThreadingContext, serviceProvider As SVsServiceProvider)
ClassView\SyncClassViewTests.vb (1)
878Dim commandHandler = New MockSyncClassViewCommandHandler(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), serviceProvider)
Completion\TestCSharpSnippetInfoService.vb (1)
21Public Sub New(threadingContext As IThreadingContext, listenerProvider As IAsynchronousOperationListenerProvider)
Completion\TestVisualBasicSnippetInfoService.vb (1)
21Public Sub New(threadingContext As IThreadingContext, listenerProvider As IAsynchronousOperationListenerProvider)
Diagnostics\DiagnosticTableDataSourceTests.vb (19)
33Dim threadingContext = workspace.GetService(Of IThreadingContext)() 67Dim threadingContext = workspace.GetService(Of IThreadingContext)() 88Dim threadingContext = workspace.GetService(Of IThreadingContext)() 115Dim threadingContext = workspace.GetService(Of IThreadingContext)() 158Dim threadingContext = workspace.GetService(Of IThreadingContext)() 208Dim threadingContext = workspace.GetService(Of IThreadingContext)() 240Dim threadingContext = workspace.GetService(Of IThreadingContext)() 269Dim threadingContext = workspace.GetService(Of IThreadingContext)() 307Dim threadingContext = workspace1.GetService(Of IThreadingContext)() 334Dim threadingContext = workspace.GetService(Of IThreadingContext)() 373Dim threadingContext = workspace.GetService(Of IThreadingContext)() 407Dim threadingContext = workspace.GetService(Of IThreadingContext)() 441Dim threadingContext = workspace.GetService(Of IThreadingContext)() 472Dim threadingContext = workspace.GetService(Of IThreadingContext)() 505Dim threadingContext = workspace.GetService(Of IThreadingContext)() 536Dim threadingContext = workspace.GetService(Of IThreadingContext)() 568Dim threadingContext = workspace.GetService(Of IThreadingContext)() 612Dim threadingContext = workspace.GetService(Of IThreadingContext)() 665Dim threadingContext = workspace.GetService(Of IThreadingContext)()
GoToDefinition\GoToDefinitionApiTests.vb (1)
43Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
Preview\PreviewChangesTests.vb (5)
48workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 109workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 145workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 211workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 292workspace.ExportProvider.GetExportedValue(Of IThreadingContext),
Progression\SearchGraphQueryTests_NavigateTo.vb (11)
29Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 62Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 95Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 141Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 191Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 237Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 274Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 307Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 331Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 364Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 397Dim threadingContext = testState.Workspace.ExportProvider.GetExportedValue(Of IThreadingContext)
ProjectSystemShim\VisualStudioRuleSetTests.vb (6)
52Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener) 96Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener) 144Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, listener) 185Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, listener) 230Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener) 268Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener)
Snippets\CSharpSnippetExpansionClientTests.vb (3)
321workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 345workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 388workspace.ExportProvider.GetExportedValue(Of IThreadingContext),
Snippets\SnippetTestState.vb (4)
57Workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 65Workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 74Workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 155Public Sub New(threadingContext As IThreadingContext,
Snippets\VisualBasicSnippetExpansionClientTests.vb (3)
360workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 404workspace.ExportProvider.GetExportedValue(Of IThreadingContext), 446workspace.ExportProvider.GetExportedValue(Of IThreadingContext),
SolutionExplorer\SourceGeneratorItemTests.vb (1)
242Return New SourceGeneratedFileItemSource(generatorItem, workspace, asyncListener, workspace.GetService(Of IThreadingContext)())
TaskList\TaskListTableDataSourceTests.vb (10)
26Dim threadingContext = workspace.GetService(Of IThreadingContext)() 59Dim threadingContext = workspace.GetService(Of IThreadingContext)() 79Dim threadingContext = workspace.GetService(Of IThreadingContext)() 105Dim threadingContext = workspace.GetService(Of IThreadingContext)() 147Dim threadingContext = workspace.GetService(Of IThreadingContext)() 196Dim threadingContext = workspace.GetService(Of IThreadingContext)() 227Dim threadingContext = workspace.GetService(Of IThreadingContext)() 265Dim threadingContext = workspace.GetService(Of IThreadingContext)() 303Dim threadingContext = workspace.GetService(Of IThreadingContext)() 341Dim threadingContext = workspace.GetService(Of IThreadingContext)()
Microsoft.VisualStudio.LanguageServices.VisualBasic (17)
CodeModel\VisualBasicCodeModelService.vb (1)
45threadingContext As IThreadingContext)
CodeModel\VisualBasicCodeModelServiceFactory.vb (2)
24Private ReadOnly _threadingContext As IThreadingContext 31threadingContext As IThreadingContext)
LanguageService\VisualBasicCodeCleanupFixer.vb (1)
24Public Sub New(threadingContext As IThreadingContext, workspace As VisualStudioWorkspaceImpl, vsHierarchyItemManager As IVsHierarchyItemManager, globalOptions As IGlobalOptionService)
LanguageService\VisualBasicCreateServicesOnTextViewConnection.vb (1)
29threadingContext As IThreadingContext)
LanguageService\VisualBasicPackage.IVbCompiler.vb (1)
28ComponentModel.GetService(Of IThreadingContext))
ObjectBrowser\VisualBasicSyncClassViewCommandHandler.vb (1)
22Public Sub New(threadingContext As IThreadingContext, serviceProvider As SVsServiceProvider)
Options\AdvancedOptionPageControl.xaml.vb (2)
47Private ReadOnly _threadingContext As IThreadingContext 53_threadingContext = componentModel.GetService(Of IThreadingContext)()
Progression\VisualBasicGraphProvider.vb (1)
23threadingContext As IThreadingContext,
ProjectSystemShim\VisualBasicProject.vb (1)
44threadingContext As IThreadingContext)
Snippets\SnippetCommandHandler.vb (1)
46threadingContext As IThreadingContext,
Snippets\SnippetCompletionProvider.vb (2)
34Private ReadOnly _threadingContext As IThreadingContext 44threadingContext As IThreadingContext,
Snippets\SnippetExpansionClient.vb (2)
32threadingContext As IThreadingContext, 53threadingContext As IThreadingContext,
Snippets\VisualBasicSnippetInfoService.vb (1)
21Public Sub New(threadingContext As IThreadingContext, serviceProvider As SVsServiceProvider, listenerProvider As IAsynchronousOperationListenerProvider)
Microsoft.VisualStudio.LanguageServices.Xaml (4)
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
45IThreadingContext threadingContext,
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
42IThreadingContext threadingContext,
Implementation\XamlProjectService.cs (2)
36private readonly IThreadingContext _threadingContext; 51IThreadingContext threadingContext)
Roslyn.VisualStudio.DiagnosticsWindow (7)
Loggers\OutputWindowLogger.cs (2)
57private readonly IThreadingContext _threadingContext; 69_threadingContext = componentModel.GetService<IThreadingContext>();
OptionPages\PerformanceLoggersPage.cs (3)
30private IThreadingContext _threadingContext; 40_threadingContext = componentModel.GetService<IThreadingContext>(); 56public static void SetLoggers(IGlobalOptionService globalOptions, IThreadingContext threadingContext, SolutionServices workspaceServices)
VisualStudioDiagnosticsWindowPackage.cs (2)
39private IThreadingContext _threadingContext; 80_threadingContext = componentModel.GetService<IThreadingContext>();