27 references to BlockSpan
Microsoft.CodeAnalysis.Features (27)
Structure\BlockSpan.cs (5)
16
string bannerText =
BlockSpan
.Ellipses,
89
internal
BlockSpan
WithType(string type)
92
internal
BlockSpan
WithIsCollapsible(bool isCollapsible)
95
internal
BlockSpan
With(
118
internal bool IsOverlappingBlockSpan(TextLineCollection lines,
BlockSpan
? other)
Structure\BlockStructure.cs (2)
11
internal sealed class BlockStructure(ImmutableArray<
BlockSpan
> spans)
13
public ImmutableArray<
BlockSpan
> Spans { get; } = spans;
Structure\BlockStructureContext.cs (4)
17
private static readonly ObjectPool<ArrayBuilder<
BlockSpan
>> _blockSpanArrayBuilderPool = new ObjectPool<ArrayBuilder<
BlockSpan
>>(() => new ArrayBuilder<
BlockSpan
>());
19
public readonly ArrayBuilder<
BlockSpan
> Spans = _blockSpanArrayBuilderPool.Allocate();
Structure\BlockStructureServiceWithProviders.cs (2)
82
private static
BlockSpan
UpdateBlockSpan(
BlockSpan
blockSpan, in BlockStructureOptions options)
Structure\Syntax\AbstractBlockStructureProvider.cs (3)
19
private static readonly IComparer<
BlockSpan
> s_blockSpanComparer = Comparer<
BlockSpan
>.Create(static (x, y) => y.TextSpan.Start.CompareTo(x.TextSpan.Start));
53
BlockSpan
? lastSpan = null;
Structure\Syntax\AbstractSyntaxNodeStructureProvider.cs (3)
16
ArrayBuilder<
BlockSpan
> spans,
26
ArrayBuilder<
BlockSpan
> spans,
39
ArrayBuilder<
BlockSpan
> spans,
Structure\Syntax\AbstractSyntaxStructureProvider.cs (2)
15
ArrayBuilder<
BlockSpan
> spans,
21
ArrayBuilder<
BlockSpan
> spans,
Structure\Syntax\AbstractSyntaxTriviaStructureProvider.cs (1)
16
ArrayBuilder<
BlockSpan
> spans,
Structure\Syntax\BlockSpanCollector.cs (5)
37
ArrayBuilder<
BlockSpan
> spans,
44
private void Collect(SyntaxNode root, ArrayBuilder<
BlockSpan
> spans)
63
private void GetBlockSpans(SyntaxToken previousToken, SyntaxNode node, ArrayBuilder<
BlockSpan
> spans)
76
private void GetBlockSpans(SyntaxToken token, ArrayBuilder<
BlockSpan
> spans)
82
private void GetOutliningSpans(SyntaxTriviaList triviaList, ArrayBuilder<
BlockSpan
> spans)