15 references to IndentationResult
Microsoft.CodeAnalysis.CSharp.Features (6)
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
80var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpConstructorSnippetProvider.cs (1)
74var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpElseSnippetProvider.cs (1)
96var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpForEachLoopSnippetProvider.cs (1)
83var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpIfSnippetProvider.cs (1)
60var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpWhileLoopSnippetProvider.cs (1)
60var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIndentationService.Indenter.cs (1)
63return new IndentationResult(trivia.FullSpan.Start, 0);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpSmartIndentProvider.cs (1)
104return result.HasValue ? new IndentationResult(result.Value.BasePosition, result.Value.Offset).GetIndentation(_textView, line) : null;
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
VisualBasicIndentationService.Indenter.vb (1)
65Return New IndentationResult(trivia.FullSpan.Start, 0)
Microsoft.CodeAnalysis.Workspaces (6)
AbstractIndentation.Indenter.cs (5)
159return new IndentationResult(basePosition: line.Start + offset.Value, offset: 0); 192indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset); 203=> new(this.LineToBeIndented.Start, addedSpaces); 231return new IndentationResult(LineToBeIndented.Start, indentation); 234return new IndentationResult(position, addedSpaces);
AbstractIndentationService.cs (1)
27return new IndentationResult(basePosition: 0, offset: 0);