3 types derived from IndentationData
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.IndentationData.cs (3)
28
private sealed class SimpleIndentationData(TextSpan textSpan, int indentation) :
IndentationData
(textSpan)
38
private sealed class RelativeIndentationData :
IndentationData
116
private sealed class AdjustedIndentationData :
IndentationData
16 references to IndentationData
Microsoft.CodeAnalysis.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.AnchorData.cs (3)
31
IIntervalIntrospector<
IndentationData
>,
37
TextSpan IIntervalIntrospector<
IndentationData
>.GetSpan(
IndentationData
value)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
33
private readonly ContextMutableIntervalTree<
IndentationData
, FormattingContextIntervalIntrospector> _indentationTree;
65
_indentationTree = new ContextMutableIntervalTree<
IndentationData
, FormattingContextIntervalIntrospector>(new FormattingContextIntervalIntrospector());
226
var
indentationData = _indentationTree.GetSmallestContainingInterval(operation.TextSpan.Start, 0);
244
IndentationData
derived;
421
var
indentationData = _indentationTree.GetSmallestContainingInterval(position, 0);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.IndentationData.cs (8)
22
public
IndentationData
WithTextSpan(TextSpan span)
25
protected abstract
IndentationData
WithTextSpanCore(TextSpan span);
32
protected override
IndentationData
WithTextSpanCore(TextSpan span)
106
protected override
IndentationData
WithTextSpanCore(TextSpan span)
118
public AdjustedIndentationData(TextSpan textSpan,
IndentationData
baseIndentationData, int adjustment)
131
public
IndentationData
BaseIndentationData { get; }
134
/// The adjustment to apply to the <see cref="
IndentationData
.Indentation"/> value providede by
141
protected override
IndentationData
WithTextSpanCore(TextSpan span)