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