1 write to ExportProvider
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace`1.cs (1)
66
this.
ExportProvider
= composition.ExportProviderFactory.CreateExportProvider();
179 references to ExportProvider
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
138
var exportProvider = workspace.
ExportProvider
;
SQLitePersistentStorageBenchmark.cs (1)
63
var asyncListener = _workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>().GetListener(FeatureAttribute.PersistentStorage);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (43)
AddMissingImports\CSharpAddMissingImportsRefactoringProviderTests.cs (1)
37
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)
3913
var extraBuffer = workspace.
ExportProvider
.GetExportedValue<ITextBufferFactoryService>().CreateTextBuffer("", contentType);
3916
using var disposableView = workspace.
ExportProvider
.GetExportedValue<ITextEditorFactoryService>().CreateDisposableTextView(extraBuffer);
3917
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>();
3918
var globalOptions = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
Classification\SyntacticTaggerTests.cs (1)
96
var typeMap = workspace.
ExportProvider
.GetExportedValue<ClassificationTypeMap>();
Classification\TotalClassifierTests.cs (4)
3059
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>();
3060
var globalOptions = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
3161
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>();
3162
var globalOptions = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
CodeActions\PreviewExceptionTests.cs (2)
95
workspace.
ExportProvider
.GetExportedValue<IThreadingContext>(),
96
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)
58
var testDocument1 = new EditorTestHostDocument(text: source1, displayName: "1.cs", exportProvider: workspace.
ExportProvider
, filePath: "1.cs");
59
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)
1458
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)
157
var pdbService = (PdbSourceDocumentMetadataAsSourceFileProvider)workspace.
ExportProvider
.GetExportedValues<IMetadataAsSourceFileProvider>().Single(s => s is PdbSourceDocumentMetadataAsSourceFileProvider);
171
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)
45
var workspaceWaiter = workspace.
ExportProvider
475
var configService = workspace.
ExportProvider
.GetExportedValue<TestWorkspaceConfigurationService>();
604
var configService = workspace.
ExportProvider
.GetExportedValue<TestWorkspaceConfigurationService>();
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)
62
_taggerProvider = (AbstractDiagnosticsTaggerProvider<TTag>)(object)_workspace.
ExportProvider
.GetExportedValues<ITaggerProvider>()
Formatting\CoreFormatterTestsBase.cs (1)
187
workspace.
ExportProvider
,
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (1)
52
var service = Assert.IsType<HighlightingService>(workspace.
ExportProvider
.GetExportedValue<IHighlightingService>());
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
383
var signatureHelpProvider = workspace.
ExportProvider
.GetExportedValues<ISignatureHelpProvider>().Single(provider => provider.GetType() == signatureHelpProviderType);
SpellCheck\AbstractSpellCheckFixerProviderTests.cs (2)
37
var threadingContext = workspace.
ExportProvider
.GetExportedValue<IThreadingContext>();
40
var service = (RoslynSpellCheckFixerProvider)workspace.
ExportProvider
.GetExportedValue<ISpellCheckFixerProvider>();
Workspaces\EditorTestWorkspace.cs (6)
202
var values =
ExportProvider
.GetExports<TServiceInterface, ContentTypeMetadata>();
208
var values =
ExportProvider
.GetExports<TServiceInterface, OrderableContentTypeMetadata>();
216
var threadingContext =
ExportProvider
.GetExportedValue<IThreadingContext>();
322
ExportProvider
,
496
var textBuffer = EditorFactory.CreateBuffer(
ExportProvider
, contentType, initialText);
499
var editorOptions =
ExportProvider
.GetExportedValue<IEditorOptionsFactoryService>().GetOptions(textBuffer);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (17)
CodeFixes\CodeFixServiceTests.cs (1)
364
? workspace.
ExportProvider
.GetExports<IConfigurationFixProvider, CodeChangeProviderMetadata>()
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
105
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)
61
var sourceTextProvider = (PdbMatchingSourceTextProvider)workspace.
ExportProvider
.GetExports<IEventListener>().Single(e => e.Value is PdbMatchingSourceTextProvider).Value;
FindReferences\FindReferencesCommandHandlerTests.cs (2)
66
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>();
70
workspace.
ExportProvider
.GetExportedValue<IThreadingContext>(),
Formatting\InferredIndentationTests.cs (1)
62
var editorOptionsFactoryService = workspace.
ExportProvider
.GetExportedValue<IEditorOptionsFactoryService>();
Options\GlobalOptionsTests.cs (1)
156
globalOptions = Assert.IsType<TestGlobalOptions>(workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>());
RenameTracking\RenameTrackingTestState.cs (2)
85
_historyRegistry = Workspace.
ExportProvider
.GetExport<ITextUndoHistoryRegistry>().Value;
210
var provider = Workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();
Structure\StructureTaggerTests.cs (1)
400
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 (1)
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (1)
29
var updater = (SolutionAnalyzerConfigOptionsUpdater)workspace.
ExportProvider
.GetExports<IEventListener>().Single(e => e.Value is SolutionAnalyzerConfigOptionsUpdater).Value;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Workspaces\TestWorkspace`1.cs (6)
328
=>
ExportProvider
.GetExportedValue<TServiceInterface>();
379
info.Id, info.FilePath, info.Folders,
ExportProvider
,
403
var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, exportProvider:
ExportProvider
);
427
var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, filePath: info.FilePath, folders: info.Folders, exportProvider:
ExportProvider
);
621
ExportProvider
,
643
var submissions = CreateSubmissions(workspaceElement.Elements(SubmissionElementName),
ExportProvider
);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (10)
CodeModel\FileCodeModelTestHelpers.cs (6)
39
var serviceProvider = workspace.
ExportProvider
.GetExportedValue<MockServiceProvider>();
40
var componentModel = new MockComponentModel(workspace.
ExportProvider
);
43
var visualStudioWorkspaceMock = workspace.
ExportProvider
.GetExportedValue<MockVisualStudioWorkspace>();
46
var threadingContext = workspace.
ExportProvider
.GetExportedValue<IThreadingContext>();
47
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();
54
workspace.
ExportProvider
.GetExportedValue<ProjectCodeModelFactory>());
Interactive\Commands\ResetInteractiveTests.cs (1)
74
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)
98
Dim threadingContext = workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext)()
CodeModel\CodeModelTestHelpers.vb (5)
61
Dim threadingContext = workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext)
62
Dim listenerProvider = workspace.
ExportProvider
.GetExportedValue(Of AsynchronousOperationListenerProvider)()
63
Dim visualStudioWorkspace = workspace.
ExportProvider
.GetExportedValue(Of MockVisualStudioWorkspace)()
68
workspace.
ExportProvider
.GetExportedValue(Of MockServiceProvider),
71
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)
246
Dim braceMatcher = workspace.
ExportProvider
.GetExportedValue(Of IBraceMatchingService)()
268
Dim braceMatcher = workspace.
ExportProvider
.GetExportedValue(Of IBraceMatchingService)()
ChangeSignature\ChangeSignatureViewModelTests.vb (2)
475
workspace.
ExportProvider
.GetExportedValue(Of IClassificationFormatMapService)().GetClassificationFormatMap("text"),
476
workspace.
ExportProvider
.GetExportedValue(Of ClassificationTypeMap)())
ClassView\SyncClassViewTests.vb (1)
878
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)()
237
Dim threadingContext = workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext)
238
Dim testServiceBroker = workspace.
ExportProvider
.GetExportedValue(Of TestServiceBroker)
239
Dim vsWorkspace = workspace.
ExportProvider
.GetExportedValue(Of MockVisualStudioWorkspace)()
241
Using source = workspace.
ExportProvider
.GetExportedValue(Of ExternalErrorDiagnosticUpdateSource)()
GoToDefinition\GoToDefinitionApiTests.vb (1)
43
Dim threadingContext = workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext)()
InheritanceMargin\InheritanceMarginViewModelTests.vb (2)
81
Dim classificationTypeMap = workspace.
ExportProvider
.GetExportedValue(Of ClassificationTypeMap)
82
Dim classificationFormatMap = workspace.
ExportProvider
.GetExportedValue(Of IClassificationFormatMapService)
ObjectBrowser\AbstractObjectBrowserTests.vb (3)
43
Dim vsWorkspace = New MockVisualStudioWorkspace(workspace.
ExportProvider
)
45
Dim mockComponentModel = New MockComponentModel(workspace.
ExportProvider
)
47
Dim mockServiceProvider = workspace.
ExportProvider
.GetExportedValue(Of MockServiceProvider)
Preview\PreviewChangesTests.vb (5)
44
Dim componentModel = New MockComponentModel(workspace.
ExportProvider
)
104
Dim componentModel = New MockComponentModel(workspace.
ExportProvider
)
139
Dim componentModel = New MockComponentModel(workspace.
ExportProvider
)
193
Dim componentModel = New MockComponentModel(workspace.
ExportProvider
)
284
Dim componentModel = New MockComponentModel(workspace.
ExportProvider
)
ProjectSystemShim\VisualStudioRuleSetTests.vb (8)
50
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener)
94
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener)
139
Dim listenerProvider = workspace.
ExportProvider
.GetExportedValue(Of IAsynchronousOperationListenerProvider)
142
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, listener)
180
Dim listenerProvider = workspace.
ExportProvider
.GetExportedValue(Of IAsynchronousOperationListenerProvider)
183
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, listener)
228
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener)
266
Dim ruleSetManager = New VisualStudioRuleSetManager(workspace.
ExportProvider
.GetExportedValue(Of IThreadingContext), fileChangeWatcher, AsynchronousOperationListenerProvider.NullListener)
SolutionExplorer\SourceGeneratorItemTests.vb (2)
143
Dim configService = workspace.
ExportProvider
.GetExportedValue(Of TestWorkspaceConfigurationService)
184
Dim configService = workspace.
ExportProvider
.GetExportedValue(Of TestWorkspaceConfigurationService)
Venus\DocumentService_IntegrationTests.vb (1)
68
Dim presenter = New StreamingFindUsagesPresenter(workspace, workspace.
ExportProvider
.AsExportProvider())
Roslyn.VisualStudio.Next.UnitTests (21)
Services\ServiceHubServicesTests.cs (18)
208
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<IAsynchronousOperationListenerProvider>();
725
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
799
var operations = workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();
809
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
864
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
917
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
968
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1009
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1052
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1104
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1157
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1210
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1255
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1300
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1343
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1388
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1429
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
1551
var globalOptionService = workspace.
ExportProvider
.GetExportedValue<IGlobalOptionService>();
Services\SolutionServiceTests.cs (3)
973
var operations = workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();
1166
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();
1220
var listenerProvider = workspace.
ExportProvider
.GetExportedValue<AsynchronousOperationListenerProvider>();