1 write to Adjustment
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.IndentationData.cs (1)
125
Adjustment
= adjustment;
5 references to Adjustment
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
237
if (indentationData is not AdjustedIndentationData { BaseIndentationData: var baseIndentationData,
Adjustment
: var totalAdjustment })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.IndentationData.cs (4)
113
/// Represents an indentation in which a fixed offset (<see cref="
Adjustment
"/>) is applied to a reference
122
RoslynDebug.Assert(baseIndentationData is not AdjustedIndentationData, $"Indentation data should only involve one layer of adjustment (multiples can be combined by adding the {nameof(
Adjustment
)} fields.");
139
public override int Indentation => BaseIndentationData.Indentation +
Adjustment
;
143
return new AdjustedIndentationData(span, BaseIndentationData,
Adjustment
);