2 writes to IndentationDeltaOrPosition
Microsoft.CodeAnalysis.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\IndentBlockOperation.cs (2)
30this.IndentationDeltaOrPosition = indentationDelta; 52this.IndentationDeltaOrPosition = indentationDelta;
18 references to IndentationDeltaOrPosition
Microsoft.CodeAnalysis.Analyzers (18)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (2)
193return (operation.IndentationDeltaOrPosition + _indentationSize * indentationLevel, operation); 207indentationLevel += operation.IndentationDeltaOrPosition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (3)
220_indentationTree.AddIntervalInPlace(new SimpleIndentationData(intervalTreeSpan, operation.IndentationDeltaOrPosition)); 230var indentation = operation.IndentationDeltaOrPosition * Options.IndentationSize; 242totalAdjustment += operation.IndentationDeltaOrPosition * Options.IndentationSize;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (4)
349return operation.IndentationDeltaOrPosition; 355return operation.IndentationDeltaOrPosition; 373return operation.IndentationDeltaOrPosition + 1; 378return operation.IndentationDeltaOrPosition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\BaseIndentationFormattingRule.cs (3)
112operation.IndentationDeltaOrPosition == _baseIndentation && 121return FormattingOperations.CreateRelativeIndentBlockOperation(operation.BaseToken, operation.StartToken, operation.EndToken, AdjustTextSpan(operation.TextSpan), operation.IndentationDeltaOrPosition, operation.Option); 124return FormattingOperations.CreateIndentBlockOperation(operation.StartToken, operation.EndToken, AdjustTextSpan(operation.TextSpan), operation.IndentationDeltaOrPosition, operation.Option);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\IndentBlockOperation.cs (1)
68=> $"Indent {TextSpan} from '{StartToken}' to '{EndToken}', by {IndentationDeltaOrPosition}, with base token '{BaseToken}'";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\IndentBlockOption.cs (3)
21/// <see cref="IndentBlockOperation.IndentationDeltaOrPosition"/> will be interpreted as delta of its enclosing indentation 26/// <see cref="IndentBlockOperation.IndentationDeltaOrPosition"/> will be interpreted as absolute position 45/// Increase the <see cref="IndentBlockOperation.IndentationDeltaOrPosition"/> if the block is part of a
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CommonFormattingHelpers.cs (2)
37d = o2.IndentationDeltaOrPosition - o1.IndentationDeltaOrPosition;