1 write to BaseIndentation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Formatting\CoreFormatterTestsBase.cs (1)
196factory.BaseIndentation = baseIndentation.Value;
4 references to BaseIndentation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Formatting\CoreFormatterTestsBase.cs (2)
97if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position)) 100var projectedOffset = line.GetFirstNonWhitespaceOffset().Value - factory.BaseIndentation;
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (2)
46if (BaseIndentation == 0) 51return new BaseIndentationFormattingRule(document.Root, TextSpan, BaseIndentation + 4);