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