1 type derived from SnippetFunctionService
Microsoft.CodeAnalysis.CSharp.Features (1)
Snippets\CSharpSnippetFunctionService.cs (1)
19internal sealed class CSharpSnippetFunctionService() : SnippetFunctionService
11 references to SnippetFunctionService
Microsoft.CodeAnalysis.CSharp.Features (1)
Snippets\CSharpSnippetFunctionService.cs (1)
16[ExportLanguageService(typeof(SnippetFunctionService), LanguageNames.CSharp), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (1)
162SnippetFunctionService.TryGetSnippetFunctionInfo(functionElement?.Value, out var functionName, out var functionParam);
Handler\InlineCompletions\XmlSnippetParser.ParsedXmlSnippet.cs (3)
46var snippetFunctionService = documentWithSnippet.Project.GetRequiredLanguageService<SnippetFunctionService>(); 55var simplifiedTypeName = await SnippetFunctionService.GetSimplifiedTypeNameAsync(documentWithSnippet, fieldSpan, FunctionParam, simplifierOptions, cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices (6)
Snippets\SnippetExpansionClient.cs (1)
134if (!SnippetFunctionService.TryGetSnippetFunctionInfo(xmlFunctionNode.text, out var snippetFunctionName, out var param))
Snippets\SnippetFunctions\SnippetFunctionClassName.cs (2)
42var snippetFunctionService = document.Project.GetRequiredLanguageService<SnippetFunctionService>();
Snippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (2)
51var snippetFunctionService = document.Project.GetRequiredLanguageService<SnippetFunctionService>();
Snippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (1)
47var simplifiedTypeName = await SnippetFunctionService.GetSimplifiedTypeNameAsync(document, fieldSpan.Value, _fullyQualifiedName, simplifierOptions, cancellationToken).ConfigureAwait(false);