15 references to VSInternalSpellCheckableRangeKind
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\Handlers\DocumentSpellCheck.cs (2)
18
public readonly record struct SpellCheckSpan(int StartIndex, int Length,
VSInternalSpellCheckableRangeKind
Kind);
33
var
kind = ProtocolConversions.SpellCheckSpanKindToSpellCheckableRangeKind(span.Kind);
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Extensions\ProtocolConversions.cs (4)
576
public static LSP.
VSInternalSpellCheckableRangeKind
SpellCheckSpanKindToSpellCheckableRangeKind(SpellCheckKind kind)
579
SpellCheckKind.Identifier => LSP.
VSInternalSpellCheckableRangeKind
.Identifier,
580
SpellCheckKind.Comment => LSP.
VSInternalSpellCheckableRangeKind
.Comment,
581
SpellCheckKind.String => LSP.
VSInternalSpellCheckableRangeKind
.String,
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (1)
188
var
kind = ProtocolConversions.SpellCheckSpanKindToSpellCheckableRangeKind(span.Kind);
Protocol\Internal\VSInternalSpellCheckableRangeReport.cs (4)
33
/// 1. A kind, corresponding to the numeric value of <see cref="
VSInternalSpellCheckableRangeKind
"/>.
43
/// 1, // The kind of the span. Equivalent to <see cref="
VSInternalSpellCheckableRangeKind
.Comment"/>.
47
/// 0, // Equivalent to <see cref="
VSInternalSpellCheckableRangeKind
.String"/>.
51
/// 0, // Equivalent to <see cref="
VSInternalSpellCheckableRangeKind
.String"/>.
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
SpellCheck\SpellCheckTests.cs (4)
596
private static
VSInternalSpellCheckableRangeKind
Convert(string kind)
599
"String" =>
VSInternalSpellCheckableRangeKind
.String,
600
"Comment" =>
VSInternalSpellCheckableRangeKind
.Comment,
601
"Identifier" =>
VSInternalSpellCheckableRangeKind
.Identifier,