4 instantiations of SpellCheckSpan
Microsoft.CodeAnalysis.Features (4)
SpellCheck\AbstractSpellCheckSpanService.cs (4)
138AddSpan(new SpellCheckSpan(token.Span, SpellCheckKind.String)); 189AddSpan(new SpellCheckSpan(TextSpan.FromBounds(spanStart, spanEnd), SpellCheckKind.String)); 236AddSpan(new SpellCheckSpan(token.Span, SpellCheckKind.Identifier)); 251AddSpan(new SpellCheckSpan(trivia.Span, SpellCheckKind.Comment));
7 references to SpellCheckSpan
Microsoft.CodeAnalysis.Features (7)
SpellCheck\AbstractSpellCheckSpanService.cs (6)
23public async Task<ImmutableArray<SpellCheckSpan>> GetSpansAsync(Document document, CancellationToken cancellationToken) 29ImmutableArray<SpellCheckSpan> GetSpans() 35using var _ = ArrayBuilder<SpellCheckSpan>.GetInstance(out var spans); 49ArrayBuilder<SpellCheckSpan> spans) 56private readonly ArrayBuilder<SpellCheckSpan> _spans = spans; 58private void AddSpan(SpellCheckSpan span)
SpellCheck\ISpellCheckingSpanService.cs (1)
17Task<ImmutableArray<SpellCheckSpan>> GetSpansAsync(Document document, CancellationToken cancellationToken);