3 writes to BaseIndentation
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\Indentation\CSharpFormatterTestsBase.cs (1)
115
factory.
BaseIndentation
= baseIndentation.Value;
Formatting\Indentation\SmartIndenterTests.cs (1)
3689
provider.
BaseIndentation
= BaseIndentationOfNugget;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Formatting\CoreFormatterTestsBase.cs (1)
195
factory.
BaseIndentation
= baseIndentation.Value;
4 references to BaseIndentation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Formatting\CoreFormatterTestsBase.cs (2)
96
if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.
BaseIndentation
!= 0 && factory.TextSpan.Contains(p.Position))
99
var projectedOffset = line.GetFirstNonWhitespaceOffset().Value - factory.
BaseIndentation
;
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (2)
46
if (
BaseIndentation
== 0)
51
return new BaseIndentationFormattingRule(document.Root, TextSpan,
BaseIndentation
+ 4);