1 instantiation of Indenter
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (1)
59return new Indenter(this, document.SyntaxTree, document.Text, formattingRules, options, lineToBeIndented, smartTokenFormatter, cancellationToken);
14 references to Indenter
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (10)
21protected override bool ShouldUseTokenIndenter(Indenter indenter, out SyntaxToken syntaxToken) 33protected override IndentationResult? GetDesiredIndentationWorker(Indenter indenter, SyntaxToken? tokenOpt, SyntaxTrivia? triviaOpt) 37private static IndentationResult? TryGetDesiredIndentation(Indenter indenter, SyntaxTrivia? triviaOpt) 63private static IndentationResult? TryGetDesiredIndentation(Indenter indenter, SyntaxToken? tokenOpt) 71private static IndentationResult GetIndentationBasedOnToken(Indenter indenter, SyntaxToken token) 324private static IndentationResult GetIndentationFromCommaSeparatedList(Indenter indenter, SyntaxToken token) 337Indenter indenter, SeparatedSyntaxList<T> list, SyntaxToken token) where T : SyntaxNode 364private static IndentationResult GetDefaultIndentationFromToken(Indenter indenter, SyntaxToken token) 374private static IndentationResult GetIndentationForQueryExpression(Indenter indenter, SyntaxToken token) 466Indenter indenter, SyntaxToken token, int? additionalSpace = null)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.cs (2)
27protected abstract bool ShouldUseTokenIndenter(Indenter indenter, out SyntaxToken token); 32Indenter indenter, SyntaxToken? token, SyntaxTrivia? trivia);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (2)
27var indenter = GetIndenter(document, lineNumber, options, cancellationToken); 39private Indenter GetIndenter(ParsedDocument document, int lineNumber, IndentationOptions options, CancellationToken cancellationToken)