1 instantiation of AnchorIndentationOperation
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\FormattingOperations.cs (1)
36
=>
new
(anchorToken, endToken, textSpan);
14 references to AnchorIndentationOperation
Microsoft.CodeAnalysis.Analyzers (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.AnchorData.cs (1)
16
private sealed class AnchorData(
AnchorIndentationOperation
operation, SyntaxToken anchorToken, int originalColumn)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
376
public void AddAnchorIndentationOperation(
AnchorIndentationOperation
operation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
162
var anchorIndentationOperationsScratch = new List<
AnchorIndentationOperation
>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\ChainedFormattingRules.cs (1)
52
public void AddAnchorIndentationOperations(List<
AnchorIndentationOperation
> list, SyntaxNode currentNode)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\NodeOperations.cs (2)
20
private static readonly ObjectPool<SegmentedList<
AnchorIndentationOperation
>> s_anchorIndentationOperationPool = new(() => []);
27
public SegmentedList<
AnchorIndentationOperation
> AnchorIndentationOperations { get; } = s_anchorIndentationOperationPool.Allocate();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\AbstractFormattingRule.cs (1)
29
public virtual void AddAnchorIndentationOperations(List<
AnchorIndentationOperation
> list, SyntaxNode node, in NextAnchorIndentationOperationAction nextOperation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\CompatAbstractFormattingRule.cs (2)
25
public sealed override void AddAnchorIndentationOperations(List<
AnchorIndentationOperation
> list, SyntaxNode node, in NextAnchorIndentationOperationAction nextOperation)
78
public virtual void AddAnchorIndentationOperationsSlow(List<
AnchorIndentationOperation
> list, SyntaxNode node, ref NextAnchorIndentationOperationAction nextOperation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\NextAnchorIndentationOperationAction.cs (1)
15
List<
AnchorIndentationOperation
> list)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\Operations\FormattingOperations.cs (4)
29
public static
AnchorIndentationOperation
CreateAnchorIndentationOperation(SyntaxToken anchorToken, SyntaxToken endToken)
35
public static
AnchorIndentationOperation
CreateAnchorIndentationOperation(SyntaxToken anchorToken, SyntaxToken endToken, TextSpan textSpan)
146
internal static IEnumerable<
AnchorIndentationOperation
> GetAnchorIndentationOperations(IEnumerable<AbstractFormattingRule> formattingRules, SyntaxNode node, SyntaxFormattingOptions options)
150
var list = new List<
AnchorIndentationOperation
>();