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