15 references to CreateIndentationString
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
478return indentation.CreateIndentationString(options.UseTabs, options.TabSize);
SplitStringLiteral\StringSplitter.cs (1)
138var indentString = indent.CreateIndentationString(UseTabs, TabSize);
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
249var indentation = FormattingExtensions.CreateIndentationString(options.IndentationSize, options.UseTabs, options.TabSize);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
719return indentation.CreateIndentationString(formattingOptions.UseTabs, formattingOptions.TabSize);
Microsoft.CodeAnalysis.EditorFeatures (1)
SplitComment\SplitCommentCommandHandler.cs (1)
196commentStartColumn.CreateIndentationString(options.UseTabs, options.TabSize) +
Microsoft.CodeAnalysis.Features (7)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (3)
129indentText = lineOffset.CreateIndentationString(options.UseTabs, options.TabSize); 353var indentText = lineOffset.CreateIndentationString(options.UseTabs, options.TabSize); 460return firstNonWhitespaceColumn.CreateIndentationString(options.UseTabs, options.TabSize) + ExteriorTriviaText + extraIndent;
src\Analyzers\Core\CodeFixes\UseObjectInitializer\AbstractUseObjectInitializerCodeFixProvider.cs (1)
141var desiredWhitespace = desiredSpaceCount.CreateIndentationString(options.UseTabs, options.TabSize);
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (1)
63.CreateIndentationString(options.FormattingOptions.UseTabs, options.FormattingOptions.TabSize)));
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
85OriginalSourceText.GetOffset(firstPeriod.SpanStart).CreateIndentationString(options.FormattingOptions.UseTabs, options.FormattingOptions.TabSize)));
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (1)
108var indentString = afterOpenTokenOffset.CreateIndentationString(Options.FormattingOptions.UseTabs, Options.FormattingOptions.TabSize);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
226var indentText = amountToIndent.CreateIndentationString(options.FormattingOptions.UseTabs, options.FormattingOptions.TabSize);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (1)
787changes.Add(CreateWhitespace(delta.Spaces.CreateIndentationString(Options.UseTabs, Options.TabSize)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
73var indentString = indent.CreateIndentationString(useTabs, tabSize);