3 types derived from SnippetPart
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\InlineCompletions\XmlSnippetParser.ParsedXmlSnippet.cs (3)
39internal record SnippetFieldPart(string FieldName, string DefaultText, int? EditIndex) : SnippetPart(DefaultText); 85internal record SnippetCursorPart() : SnippetPart("/*$0*/"); 87internal record SnippetStringPart(string Text) : SnippetPart(Text);
6 references to SnippetPart
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\InlineCompletions\InlineCompletionsHandler.cs (2)
269foreach (var originalPart in parsedSnippet.Parts) 271var part = originalPart;
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (1)
183using var builder = ArrayBuilder<SnippetPart>.GetInstance(out var snippetParts);
Handler\InlineCompletions\XmlSnippetParser.ParsedXmlSnippet.cs (3)
19public ImmutableArray<SnippetPart> Parts { get; } 22public ParsedXmlSnippet(ImmutableArray<SnippetPart> parts) 27foreach (var part in parts)