15 references to VSInternalSpellCheckableRangeKind
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\Handlers\DocumentSpellCheck.cs (2)
18public readonly record struct SpellCheckSpan(int StartIndex, int Length, VSInternalSpellCheckableRangeKind Kind); 33var kind = ProtocolConversions.SpellCheckSpanKindToSpellCheckableRangeKind(span.Kind);
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Extensions\ProtocolConversions.cs (4)
576public static LSP.VSInternalSpellCheckableRangeKind SpellCheckSpanKindToSpellCheckableRangeKind(SpellCheckKind kind) 579SpellCheckKind.Identifier => LSP.VSInternalSpellCheckableRangeKind.Identifier, 580SpellCheckKind.Comment => LSP.VSInternalSpellCheckableRangeKind.Comment, 581SpellCheckKind.String => LSP.VSInternalSpellCheckableRangeKind.String,
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (1)
188var 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)
596private static VSInternalSpellCheckableRangeKind Convert(string kind) 599"String" => VSInternalSpellCheckableRangeKind.String, 600"Comment" => VSInternalSpellCheckableRangeKind.Comment, 601"Identifier" => VSInternalSpellCheckableRangeKind.Identifier,