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