12 references to WithDocumentServiceProvider
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\RazorLineFormattingOptionsTests.cs (1)
66.WithDocumentServiceProvider(new TestRazorDocumentServiceProvider());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Rename\RenamerTests.cs (1)
232.WithDocumentServiceProvider(new TestDocumentServiceProvider());
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Testing\RazorTestLanguageServerFactory.cs (1)
67.WithDocumentServiceProvider(documentServiceProvider);
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\CommittedSolution.cs (1)
307.WithDocumentServiceProvider(document.State.DocumentServiceProvider));
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (2)
166.WithDocumentServiceProvider(documentServiceProvider); 653.WithDocumentServiceProvider(fileInfo.DocumentServiceProvider);
Workspace\Workspace.cs (1)
2082.WithDocumentServiceProvider(doc.DocumentServiceProvider);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostDocument.cs (1)
207.WithDocumentServiceProvider(_documentServiceProvider);
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SolutionTests\DocumentInfoTests.cs (1)
113SolutionTestHelpers.TestProperty(instance, (old, value) => old.WithDocumentServiceProvider(value), opt => opt.DocumentServiceProvider, serviceProvider);
SolutionTests\SolutionTests.cs (3)
1118.WithDocumentServiceProvider(new TestDocumentServiceProvider()); 1137.WithDocumentServiceProvider(new TestDocumentServiceProvider()); 1156.WithDocumentServiceProvider(new TestDocumentServiceProvider());