1 write to ExportProvider
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace`1.cs (1)
72this.ExportProvider = composition.ExportProviderFactory.CreateExportProvider();
169 references to ExportProvider
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
139var exportProvider = workspace.ExportProvider;
SQLitePersistentStorageBenchmark.cs (1)
64var asyncListener = _workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>().GetListener(FeatureAttribute.PersistentStorage);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (43)
AddMissingImports\CSharpAddMissingImportsRefactoringProviderTests.cs (1)
36var pasteTrackingService = workspace.ExportProvider.GetExportedValue<PasteTrackingService>();
ChangeSignature\RemoveParametersTests.cs (1)
384var handler = workspace.ExportProvider.GetCommandHandler<CSharpChangeSignatureCommandHandler>(PredefinedCommandHandlerNames.ChangeSignature, ContentTypeNames.CSharpContentType);
Classification\SemanticClassifierTests.cs (4)
3923var extraBuffer = workspace.ExportProvider.GetExportedValue<ITextBufferFactoryService>().CreateTextBuffer("", contentType); 3926using var disposableView = workspace.ExportProvider.GetExportedValue<ITextEditorFactoryService>().CreateDisposableTextView(extraBuffer); 3927var listenerProvider = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>(); 3928var globalOptions = workspace.ExportProvider.GetExportedValue<IGlobalOptionService>();
Classification\SyntacticTaggerTests.cs (1)
96var typeMap = workspace.ExportProvider.GetExportedValue<ClassificationTypeMap>();
Classification\TotalClassifierTests.cs (4)
3057var listenerProvider = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>(); 3058var globalOptions = workspace.ExportProvider.GetExportedValue<IGlobalOptionService>(); 3159var listenerProvider = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>(); 3160var globalOptions = workspace.ExportProvider.GetExportedValue<IGlobalOptionService>();
CodeActions\PreviewExceptionTests.cs (2)
96workspace.ExportProvider.GetExportedValue<IThreadingContext>(), 97workspace.ExportProvider.GetExportedValue<SuggestedActionsSourceProvider>(),
CodeActions\PreviewTests.cs (1)
100var editHandler = workspace.ExportProvider.GetExportedValue<ICodeActionEditHandlerService>();
CommentSelection\CSharpToggleBlockCommentCommandHandlerTests.cs (1)
244return (AbstractCommentSelectionBase<ValueTuple>)workspace.ExportProvider.GetExportedValues<ICommandHandler>()
CommentSelection\CSharpToggleLineCommentCommandHandlerTests.cs (1)
1133return (AbstractCommentSelectionBase<ValueTuple>)workspace.ExportProvider.GetExportedValues<ICommandHandler>()
CompleteStatement\CSharpCompleteStatementCommandHandlerTests.cs (1)
4867=> workspace.ExportProvider.GetExportedValues<ICommandHandler>().OfType<CompleteStatementCommandHandler>().Single();
Completion\CompletionProviders\LoadDirectiveCompletionProviderTests.cs (1)
85var provider = workspace.ExportProvider.GetExports<CompletionProvider, CompletionProviderMetadata>().Single(p => p.Metadata.Language == LanguageNames.CSharp && p.Metadata.Name == nameof(LoadDirectiveCompletionProvider)).Value;
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
126var provider = workspace.ExportProvider.GetExports<CompletionProvider, CompletionProviderMetadata>().Single(p => p.Metadata.Language == LanguageNames.CSharp && p.Metadata.Name == nameof(ReferenceDirectiveCompletionProvider)).Value;
DocumentationComments\DocumentationCommentTests.cs (1)
2890return workspace.ExportProvider.GetCommandHandler<DocumentationCommentCommandHandler>(PredefinedCommandHandlerNames.DocumentationComments, ContentTypeNames.CSharpContentType);
DocumentationComments\XmlTagCompletionTests.cs (1)
20=> workspace.ExportProvider.GetCommandHandler<XmlTagCompletionCommandHandler>(nameof(XmlTagCompletionCommandHandler), ContentTypeNames.CSharpContentType);
EditAndContinue\ActiveStatementTrackingServiceTests.cs (2)
60var testDocument1 = new EditorTestHostDocument(text: source1, displayName: "1.cs", exportProvider: workspace.ExportProvider, filePath: "1.cs"); 61var testDocument2 = new EditorTestHostDocument(text: source2, displayName: "2.cs", exportProvider: workspace.ExportProvider, filePath: "2.cs");
EncapsulateField\EncapsulateFieldCommandHandlerTests.cs (1)
211var handler = workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField, ContentTypeNames.CSharpContentType);
EncapsulateField\EncapsulateFieldTestState.cs (2)
58var commandHandler = Workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField, ContentTypeNames.CSharpContentType); 59var provider = Workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>();
ExtractInterface\ExtractInterfaceTests.cs (1)
1457var handler = workspace.ExportProvider.GetCommandHandler<ExtractInterfaceCommandHandler>(PredefinedCommandHandlerNames.ExtractInterface, ContentTypeNames.CSharpContentType);
ExtractMethod\ExtractMethodMiscellaneousTests.cs (2)
147var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod, ContentTypeNames.CSharpContentType); 151var waiter = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.ExtractMethod);
ExtractMethod\ExtractMethodTests.cs (1)
11513var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod, ContentTypeNames.CSharpContentType);
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandlerTests.cs (1)
37var commandHandler = workspace.ExportProvider.GetCommandHandler<FixInterpolatedVerbatimStringCommandHandler>(nameof(FixInterpolatedVerbatimStringCommandHandler));
Intents\IntentTestsBase.cs (1)
102var intentSource = workspace.ExportProvider.GetExportedValue<IIntentSourceProvider>();
Organizing\OrganizeTypeDeclarationTests.cs (1)
1186workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>());
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (2)
158var pdbService = (PdbSourceDocumentMetadataAsSourceFileProvider)workspace.ExportProvider.GetExportedValues<IMetadataAsSourceFileProvider>().Single(s => s is PdbSourceDocumentMetadataAsSourceFileProvider); 172var provider = workspace.ExportProvider.GetExportedValues<IMetadataAsSourceFileProvider>().OfType<PdbSourceDocumentMetadataAsSourceFileProvider>().Single();
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
191var sharedGlobalCache = workspace.ExportProvider.GetExportedValue<DiagnosticAnalyzerInfoCache.SharedGlobalCache>();
QuickInfo\SyntacticQuickInfoSourceTests.cs (3)
558threadingContext: workspace.ExportProvider.GetExportedValue<IThreadingContext>(), 559operationExecutor: workspace.ExportProvider.GetExportedValue<IUIThreadOperationExecutor>(), 561streamingPresenter: workspace.ExportProvider.GetExport<IStreamingFindUsagesPresenter>());
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (1)
88var commandHandler = workspace.ExportProvider.GetCommandHandler<SplitStringLiteralCommandHandler>(nameof(SplitStringLiteralCommandHandler));
Workspaces\WorkspaceTests_EditorFeatures.cs (3)
46var workspaceWaiter = workspace.ExportProvider 476var configService = workspace.ExportProvider.GetExportedValue<TestWorkspaceConfigurationService>(); 597var configService = workspace.ExportProvider.GetExportedValue<TestWorkspaceConfigurationService>();
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
449var diagnosticService = Assert.IsType<DiagnosticAnalyzerService>(workspace.ExportProvider.GetExportedValue<IDiagnosticAnalyzerService>());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (20)
AbstractCommandHandlerTestState.cs (7)
71_createdTextView = EditorFactory.CreateView(Workspace.ExportProvider, contentType, roles); 149=> (Lazy<TExport, TMetadata>)(object)Workspace.ExportProvider.GetExport<TExport, TMetadata>(); 152=> Workspace.ExportProvider.GetExports<TExport, TMetadata>(); 155=> Workspace.ExportProvider.GetExportedValue<T>(); 158=> Workspace.ExportProvider.GetExportedValues<T>(); 233var provider = Workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 240var provider = Workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();
AutomaticCompletion\AbstractAutomaticLineEnderTests.cs (1)
118=> workspace.ExportProvider.GetExportedValue<T>();
Diagnostics\DiagnosticTaggerWrapper.cs (1)
66_taggerProvider = (AbstractDiagnosticsTaggerProvider<TTag>)(object)_workspace.ExportProvider.GetExportedValues<ITaggerProvider>()
Formatting\CoreFormatterTestsBase.cs (1)
188workspace.ExportProvider,
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (1)
52var service = Assert.IsType<HighlightingService>(workspace.ExportProvider.GetExportedValue<IHighlightingService>());
LanguageServer\AbstractLanguageServerProtocolTests.cs (3)
409var operations = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 638var capabilitiesProvider = workspace.ExportProvider.GetExportedValue<ExperimentalCapabilitiesProvider>(); 639var factory = workspace.ExportProvider.GetExportedValue<ILanguageServerFactory>();
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
384var signatureHelpProvider = workspace.ExportProvider.GetExportedValues<ISignatureHelpProvider>().Single(provider => provider.GetType() == signatureHelpProviderType);
SpellCheck\AbstractSpellCheckFixerProviderTests.cs (2)
36var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>(); 39var service = (RoslynSpellCheckFixerProvider)workspace.ExportProvider.GetExportedValue<ISpellCheckFixerProvider>();
Workspaces\EditorTestWorkspace.cs (3)
297ExportProvider, 471var textBuffer = EditorFactory.CreateBuffer(ExportProvider, contentType, initialText); 474var editorOptions = ExportProvider.GetExportedValue<IEditorOptionsFactoryService>().GetOptions(textBuffer);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (16)
CodeFixes\CodeFixServiceTests.cs (1)
363? workspace.ExportProvider.GetExports<IConfigurationFixProvider, CodeChangeProviderMetadata>()
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
104var codeRefactoring = workspace.ExportProvider.GetExportedValues<CodeRefactoringProvider>().OfType<T>().Single();
CommentSelection\ToggleBlockCommentCommandHandlerTests.cs (1)
1503return (AbstractCommentSelectionBase<ValueTuple>)workspace.ExportProvider.GetExportedValues<ICommandHandler>()
Completion\CompletionServiceTests.cs (1)
54var waiter = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.CompletionSet);
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
57var sourceTextProvider = (PdbMatchingSourceTextProvider)workspace.ExportProvider.GetExports<IEventListener>().Single(e => e.Value is PdbMatchingSourceTextProvider).Value;
FindReferences\FindReferencesCommandHandlerTests.cs (1)
65var listenerProvider = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>();
Formatting\InferredIndentationTests.cs (1)
62var editorOptionsFactoryService = workspace.ExportProvider.GetExportedValue<IEditorOptionsFactoryService>();
Options\GlobalOptionsTests.cs (1)
157globalOptions = Assert.IsType<TestGlobalOptions>(workspace.ExportProvider.GetExportedValue<IGlobalOptionService>());
RenameTracking\RenameTrackingTestState.cs (2)
86_historyRegistry = Workspace.ExportProvider.GetExport<ITextUndoHistoryRegistry>().Value; 212var provider = Workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();
Structure\StructureTaggerTests.cs (1)
401var provider = workspace.ExportProvider.GetExportedValue<AbstractStructureTaggerProvider>();
Tagging\AsynchronousTaggerTests.cs (5)
65var asyncListenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 105var tagProvider = workspace.ExportProvider.GetExportedValue<AbstractStructureTaggerProvider>(); 131var tagProvider = workspace.ExportProvider.GetExportedValue<AbstractStructureTaggerProvider>(); 156var asyncListenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 212var asyncListenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (1)
29var updater = (SolutionAnalyzerConfigOptionsUpdater)workspace.ExportProvider.GetExports<IEventListener>().Single(e => e.Value is SolutionAnalyzerConfigOptionsUpdater).Value;
VSTypeScriptHandlerTests.cs (2)
107var capabilitiesProvider = workspace.ExportProvider.GetExportedValue<ExperimentalCapabilitiesProvider>(); 108var servicesProvider = workspace.ExportProvider.GetExportedValue<VSTypeScriptLspServiceProvider>();
Workspaces\SourceGeneratedDocumentTests.cs (1)
286var operations = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (9)
Workspaces\TestWorkspace`1.cs (9)
335=> ExportProvider.GetExportedValue<TServiceInterface>(); 339var values = ExportProvider.GetExports<TServiceInterface, ContentTypeMetadata>(); 345var values = ExportProvider.GetExports<TServiceInterface, OrderableContentTypeMetadata>(); 398info.Id, info.FilePath, info.Folders, ExportProvider, 422var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, exportProvider: ExportProvider); 446var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, filePath: info.FilePath, folders: info.Folders, exportProvider: ExportProvider); 599var threadingContext = ExportProvider.GetExportedValue<IThreadingContext>(); 648ExportProvider, 670var submissions = CreateSubmissions(workspaceElement.Elements(SubmissionElementName), ExportProvider);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (10)
CodeModel\FileCodeModelTestHelpers.cs (6)
38var serviceProvider = workspace.ExportProvider.GetExportedValue<MockServiceProvider>(); 39var componentModel = new MockComponentModel(workspace.ExportProvider); 42var visualStudioWorkspaceMock = workspace.ExportProvider.GetExportedValue<MockVisualStudioWorkspace>(); 45var threadingContext = workspace.ExportProvider.GetExportedValue<IThreadingContext>(); 46var listenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 53workspace.ExportProvider.GetExportedValue<ProjectCodeModelFactory>());
Interactive\Commands\ResetInteractiveTests.cs (1)
76var testHost = new InteractiveWindowTestHost(workspace.ExportProvider.GetExportedValue<IInteractiveWindowFactoryService>());
Options\OptionViewModelTests.cs (3)
53var serviceProvider = new MockServiceProvider(workspace.ExportProvider); 79var serviceProvider = new MockServiceProvider(workspace.ExportProvider); 90var serviceProvider = new MockServiceProvider(workspace.ExportProvider);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (7)
CallHierarchy\CallHierarchyTestState.vb (1)
97Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
CodeModel\CodeModelTestHelpers.vb (5)
62Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 63Dim listenerProvider = workspace.ExportProvider.GetExportedValue(Of AsynchronousOperationListenerProvider)() 64Dim visualStudioWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 69workspace.ExportProvider.GetExportedValue(Of MockServiceProvider), 72workspace.ExportProvider.GetExportedValue(Of ProjectCodeModelFactory))
CodeModel\CodeModelTestState.vb (1)
92Dim projectCodeModel = Workspace.ExportProvider.GetExportedValue(Of ProjectCodeModelFactory)().GetProjectCodeModel(projectId)
Microsoft.VisualStudio.LanguageServices.UnitTests (52)
AbstractTextViewFilterTests.vb (2)
248Dim braceMatcher = workspace.ExportProvider.GetExportedValue(Of IBraceMatchingService)() 270Dim braceMatcher = workspace.ExportProvider.GetExportedValue(Of IBraceMatchingService)()
ChangeSignature\ChangeSignatureViewModelTests.vb (2)
476workspace.ExportProvider.GetExportedValue(Of IClassificationFormatMapService)().GetClassificationFormatMap("text"), 477workspace.ExportProvider.GetExportedValue(Of ClassificationTypeMap)())
ClassView\SyncClassViewTests.vb (1)
879Dim commandHandler = New MockSyncClassViewCommandHandler(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), serviceProvider)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (25)
53Dim threadingContext = workspace.ExportProvider.GetExport(Of IThreadingContext).Value 56Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 58Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 75Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 77Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 99Dim threadingContext = workspace.ExportProvider.GetExport(Of IThreadingContext).Value 102Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 104Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 123Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 124Dim testServiceBroker = workspace.ExportProvider.GetExportedValue(Of TestServiceBroker) 125Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 127Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 158Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 159Dim testServiceBroker = workspace.ExportProvider.GetExportedValue(Of TestServiceBroker) 160Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 162Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 199Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 200Dim testServiceBroker = workspace.ExportProvider.GetExportedValue(Of TestServiceBroker) 201Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 203Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)() 231Dim listenerProvider = workspace.ExportProvider.GetExportedValue(Of IAsynchronousOperationListenerProvider)() 238Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext) 239Dim testServiceBroker = workspace.ExportProvider.GetExportedValue(Of TestServiceBroker) 240Dim vsWorkspace = workspace.ExportProvider.GetExportedValue(Of MockVisualStudioWorkspace)() 242Using source = workspace.ExportProvider.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)()
GoToDefinition\GoToDefinitionApiTests.vb (1)
42Dim threadingContext = workspace.ExportProvider.GetExportedValue(Of IThreadingContext)()
InheritanceMargin\InheritanceMarginViewModelTests.vb (2)
84Dim classificationTypeMap = workspace.ExportProvider.GetExportedValue(Of ClassificationTypeMap) 85Dim classificationFormatMap = workspace.ExportProvider.GetExportedValue(Of IClassificationFormatMapService)
ObjectBrowser\AbstractObjectBrowserTests.vb (3)
45Dim vsWorkspace = New MockVisualStudioWorkspace(workspace.ExportProvider) 47Dim mockComponentModel = New MockComponentModel(workspace.ExportProvider) 49Dim mockServiceProvider = workspace.ExportProvider.GetExportedValue(Of MockServiceProvider)
Preview\PreviewChangesTests.vb (5)
45Dim componentModel = New MockComponentModel(workspace.ExportProvider) 105Dim componentModel = New MockComponentModel(workspace.ExportProvider) 140Dim componentModel = New MockComponentModel(workspace.ExportProvider) 194Dim componentModel = New MockComponentModel(workspace.ExportProvider) 285Dim componentModel = New MockComponentModel(workspace.ExportProvider)
ProjectSystemShim\VisualStudioRuleSetTests.vb (8)
52Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener) 96Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener) 141Dim listenerProvider = workspace.ExportProvider.GetExportedValue(Of IAsynchronousOperationListenerProvider) 144Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.ExportProvider.GetExportedValue(Of IThreadingContext), fileChangeWatcher, listener) 182Dim listenerProvider = workspace.ExportProvider.GetExportedValue(Of IAsynchronousOperationListenerProvider) 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)
SolutionExplorer\SourceGeneratorItemTests.vb (2)
144Dim configService = workspace.ExportProvider.GetExportedValue(Of TestWorkspaceConfigurationService) 185Dim configService = workspace.ExportProvider.GetExportedValue(Of TestWorkspaceConfigurationService)
Venus\DocumentService_IntegrationTests.vb (1)
69Dim presenter = New StreamingFindUsagesPresenter(workspace, workspace.ExportProvider.AsExportProvider())
Roslyn.VisualStudio.Next.UnitTests (5)
Services\ServiceHubServicesTests.cs (2)
193var listenerProvider = workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>(); 784var operations = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();
Services\SolutionServiceTests.cs (3)
974var operations = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 1167var listenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 1221var listenerProvider = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>();