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