3 implementations of ISymbolSearchService
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\MissingImportDiscovery\RemoteMissingImportDiscoveryService.cs (1)
97private sealed class SymbolSearchService : ISymbolSearchService
Microsoft.CodeAnalysis.Workspaces (1)
SymbolSearch\ISymbolSearchService.cs (1)
158internal class DefaultSymbolSearchService : ISymbolSearchService
Microsoft.VisualStudio.LanguageServices (1)
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
43internal partial class VisualStudioSymbolSearchService : AbstractDelayStartedService, ISymbolSearchService
54 references to ISymbolSearchService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
AddUsing\AddUsingNuGetTests.cs (10)
29using FixProviderData = Tuple<IPackageInstallerService, ISymbolSearchService>; 66var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 99var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 130var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 161var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 190var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 216var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 260var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 294var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict); 327var packageServiceMock = new Mock<ISymbolSearchService>(MockBehavior.Strict);
Microsoft.CodeAnalysis.CSharp.Features (2)
AddImport\CSharpAddImportCodeFixProvider.cs (1)
200ISymbolSearchService symbolSearchService)
AddMissingReference\CSharpAddMissingReferenceCodeFixProvider.cs (1)
36ISymbolSearchService symbolSearchService)
Microsoft.CodeAnalysis.Features (27)
AddImport\AbstractAddImportCodeFixProvider.cs (4)
21private readonly ISymbolSearchService? _symbolSearchService; 28ISymbolSearchService? symbolSearchService = null) 62var symbolSearchService = _symbolSearchService ?? services.GetRequiredService<ISymbolSearchService>();
AddImport\AbstractAddImportFeatureService.cs (6)
59ISymbolSearchService symbolSearchService, AddImportOptions options, 83ISymbolSearchService symbolSearchService, AddImportOptions options, 122Document document, SemanticModel semanticModel, string diagnosticId, SyntaxNode node, int maxResults, ISymbolSearchService symbolSearchService, 487ISymbolSearchService symbolSearchService, AddImportOptions options, 510ISymbolSearchService symbolSearchService, AddImportOptions options, 536ISymbolSearchService symbolSearchService,
AddImport\IAddImportFeatureService.cs (4)
32ISymbolSearchService symbolSearchService, AddImportOptions options, 41ISymbolSearchService symbolSearchService, AddImportOptions options, 54/// Similar to <see cref="GetFixesAsync(Document, TextSpan, string, int, ISymbolSearchService, AddImportOptions, ImmutableArray{PackageSource}, CancellationToken)"/> 59ISymbolSearchService symbolSearchService, AddImportOptions options,
AddImport\Remote\AbstractAddImportFeatureService_Remote.cs (2)
36private ISymbolSearchService GetService(RemoteServiceCallbackId callbackId) 37=> (ISymbolSearchService)GetCallback(callbackId);
AddImport\SymbolReferenceFinder.cs (2)
41private readonly ISymbolSearchService _symbolSearchService; 51ISymbolSearchService symbolSearchService,
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
28ISymbolSearchService? symbolSearchService = null)
AddPackage\AbstractAddPackageCodeFixProvider.cs (5)
24private readonly ISymbolSearchService _symbolSearchService; 31ISymbolSearchService symbolSearchService) 49var symbolSearchService = _symbolSearchService ?? workspaceServices.GetService<ISymbolSearchService>(); 82ISymbolSearchService searchService,
AddPackage\AbstractAddSpecificPackageCodeFixProvider.cs (1)
22ISymbolSearchService symbolSearchService = null)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (2)
58var symbolSearchService = solution.Services.GetRequiredService<ISymbolSearchService>();
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\MissingImportDiscovery\RemoteMissingImportDiscoveryService.cs (3)
88/// Provides an implementation of the <see cref="ISymbolSearchService"/> on the remote side so that 91/// appropriately to wherever the real <see cref="ISymbolSearchService"/> is running. This is necessary 92/// because it's not guaranteed that the real <see cref="ISymbolSearchService"/> will be running in
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (8)
Diagnostics\AddImport\AddImportTests_NuGet.vb (8)
18Imports ProviderData = System.Tuple(Of Microsoft.CodeAnalysis.Packaging.IPackageInstallerService, Microsoft.CodeAnalysis.SymbolSearch.ISymbolSearchService) 58Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 87Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 116Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 141Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 166Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 208Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict) 240Dim packageServiceMock = New Mock(Of ISymbolSearchService)(MockBehavior.Strict)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
AddImport\VisualBasicAddImportCodeFixProvider.vb (1)
118searchService As ISymbolSearchService)
Microsoft.CodeAnalysis.Workspaces (1)
SymbolSearch\ISymbolSearchService.cs (1)
157[ExportWorkspaceService(typeof(ISymbolSearchService)), Shared]
Microsoft.VisualStudio.LanguageServices (2)
LanguageService\AbstractPackage`2.cs (1)
96_symbolSearchService = workspace.Services.GetService<ISymbolSearchService>() as VisualStudioSymbolSearchService;
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
42[ExportWorkspaceService(typeof(ISymbolSearchService), ServiceLayer.Host), Shared]