11 references to HighlightSpanKind
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (1)
FSharpHighlightSpanKindTests.cs (1)
62
var
actual = FSharpHighlightSpanKindHelpers.ConvertTo(kind);
Microsoft.CodeAnalysis.Features (10)
DocumentHighlighting\AbstractDocumentHighlightsService.cs (7)
223
await AddLocationSpanAsync(symbol.Locations.First(), solution, spanSet, tagMap,
HighlightSpanKind
.Definition, cancellationToken).ConfigureAwait(false);
249
await AddLocationSpanAsync(location, solution, spanSet, tagMap,
HighlightSpanKind
.Definition, cancellationToken).ConfigureAwait(false);
257
var
referenceKind = referenceLocation.IsWrittenTo ?
HighlightSpanKind
.WrittenReference :
HighlightSpanKind
.Reference;
265
await AddLocationSpanAsync(location, solution, spanSet, tagMap,
HighlightSpanKind
.Reference, cancellationToken).ConfigureAwait(false);
289
private static async Task AddLocationSpanAsync(Location location, Solution solution, HashSet<DocumentSpan> spanSet, MultiDictionary<Document, HighlightSpan> tagList,
HighlightSpanKind
kind, CancellationToken cancellationToken)
DocumentHighlighting\IDocumentHighlightsService.cs (2)
29
public
HighlightSpanKind
Kind { get; }
31
public HighlightSpan(TextSpan textSpan,
HighlightSpanKind
kind) : this()
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (1)
115
=> new(textSpan,
HighlightSpanKind
.None);