3 types derived from IndentationData
Microsoft.CodeAnalysis.Workspaces (3)
FormattingContext.IndentationData.cs (3)
32
private sealed class SimpleIndentationData :
IndentationData
50
private sealed class RelativeIndentationData :
IndentationData
128
private sealed class AdjustedIndentationData :
IndentationData
18 references to IndentationData
Microsoft.CodeAnalysis.Workspaces (18)
FormattingContext.AnchorData.cs (5)
40
IIntervalIntrospector<
IndentationData
>,
49
int IIntervalIntrospector<
IndentationData
>.GetStart(
IndentationData
value)
52
int IIntervalIntrospector<
IndentationData
>.GetLength(
IndentationData
value)
FormattingContext.cs (5)
35
private readonly ContextIntervalTree<
IndentationData
, FormattingContextIntervalIntrospector> _indentationTree;
67
_indentationTree = new ContextIntervalTree<
IndentationData
, FormattingContextIntervalIntrospector>(new FormattingContextIntervalIntrospector());
227
var
indentationData = _indentationTree.GetSmallestContainingInterval(operation.TextSpan.Start, 0);
245
IndentationData
derived;
445
var
indentationData = _indentationTree.GetSmallestContainingInterval(position, 0);
FormattingContext.IndentationData.cs (8)
26
public
IndentationData
WithTextSpan(TextSpan span)
29
protected abstract
IndentationData
WithTextSpanCore(TextSpan span);
44
protected override
IndentationData
WithTextSpanCore(TextSpan span)
118
protected override
IndentationData
WithTextSpanCore(TextSpan span)
130
public AdjustedIndentationData(TextSpan textSpan,
IndentationData
baseIndentationData, int adjustment)
143
public
IndentationData
BaseIndentationData { get; }
146
/// The adjustment to apply to the <see cref="
IndentationData
.Indentation"/> value providede by
153
protected override
IndentationData
WithTextSpanCore(TextSpan span)