5 implementations of ISnippetInfoService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
131private class MockSnippetInfoService : ISnippetInfoService
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (1)
3473Implements ISnippetInfoService
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
InlineCompletions\TestSnippetInfoService.cs (1)
19internal class TestSnippetInfoService : ISnippetInfoService
Microsoft.VisualStudio.LanguageServices (1)
Snippets\AbstractSnippetInfoService.cs (1)
27internal abstract class AbstractSnippetInfoService : ISnippetInfoService, IVsExpansionEvents
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Snippets\SnippetCompletionProviderTests.vb (1)
128Implements ISnippetInfoService
25 references to ISnippetInfoService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
130[ExportLanguageService(typeof(ISnippetInfoService), LanguageNames.CSharp, ServiceLayer.Test), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (2)
152var service = services.GetLanguageServices(semanticModel.Language).GetService<ISnippetInfoService>();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (4)
3471<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic, ServiceLayer.Test), [Shared], PartNotDiscoverable> 3480Public Function GetSnippetsAsync_NonBlocking() As IEnumerable(Of SnippetInfo) Implements ISnippetInfoService.GetSnippetsIfAvailable 3484Public Function ShouldFormatSnippet(snippetInfo As SnippetInfo) As Boolean Implements ISnippetInfoService.ShouldFormatSnippet 3488Public Function SnippetShortcutExists_NonBlocking(shortcut As String) As Boolean Implements ISnippetInfoService.SnippetShortcutExists_NonBlocking
Microsoft.CodeAnalysis.Features (2)
Completion\CommonCompletionProvider.cs (2)
79var snippetService = document.Project.Services.GetService<ISnippetInfoService>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\InlineCompletions\InlineCompletionsHandler.cs (2)
70var snippetInfoService = document.Project.GetRequiredLanguageService<ISnippetInfoService>();
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
InlineCompletions\TestSnippetInfoService.cs (1)
18[ExportLanguageService(typeof(ISnippetInfoService), LanguageNames.CSharp), Shared, PartNotDiscoverable]
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractCreateServicesOnTextViewConnection.cs (1)
109_ = languageServices.GetService<ISnippetInfoService>();
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Snippets\CSharpSnippetInfoService.cs (1)
20[ExportLanguageService(typeof(ISnippetInfoService), LanguageNames.CSharp), Shared]
Microsoft.VisualStudio.LanguageServices.UnitTests (9)
Completion\CSharpCompletionSnippetNoteTests.vb (2)
119Dim testSnippetInfoService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.CSharp).GetService(Of ISnippetInfoService)(), TestCSharpSnippetInfoService) 137Dim testSnippetInfoService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.CSharp).GetService(Of ISnippetInfoService)(), TestCSharpSnippetInfoService)
Completion\TestCSharpSnippetInfoService.vb (1)
15<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.CSharp, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Completion\TestVisualBasicSnippetInfoService.vb (1)
15<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Completion\VisualBasicCompletionSnippetNoteTests.vb (1)
87Dim testSnippetInfoService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetService(Of ISnippetInfoService)(), TestVisualBasicSnippetInfoService)
Snippets\SnippetCompletionProviderTests.vb (4)
126<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic, ServiceLayer.Test), [Shared], PartNotDiscoverable> 135Public Function GetSnippetsAsync_NonBlocking() As IEnumerable(Of SnippetInfo) Implements ISnippetInfoService.GetSnippetsIfAvailable 139Public Function ShouldFormatSnippet(snippetInfo As SnippetInfo) As Boolean Implements ISnippetInfoService.ShouldFormatSnippet 143Public Function SnippetShortcutExists_NonBlocking(shortcut As String) As Boolean Implements ISnippetInfoService.SnippetShortcutExists_NonBlocking
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Snippets\SnippetCompletionProvider.vb (1)
76Dim snippetInfoService = document.GetLanguageService(Of ISnippetInfoService)()
Snippets\VisualBasicSnippetInfoService.vb (1)
15<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic), [Shared]>