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