3 writes to TextSpan
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\Indentation\CSharpFormatterTestsBase.cs (1)
116
factory.
TextSpan
= span;
Formatting\Indentation\SmartIndenterTests.cs (1)
3424
provider.
TextSpan
= subjectDocument.SelectedSpans.Single();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Formatting\CoreFormatterTestsBase.cs (1)
196
factory.
TextSpan
= spans?.First() ?? documentSyntax.Root.FullSpan;
2 references to TextSpan
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Formatting\CoreFormatterTestsBase.cs (1)
96
if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.
TextSpan
.Contains(p.Position))
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
51
return new BaseIndentationFormattingRule(document.Root,
TextSpan
, BaseIndentation + 4);