1 instantiation of Factory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
29
return new
Factory
();
7 references to Factory
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Formatting\Indentation\CSharpFormatterTestsBase.cs (2)
114
var
factory = (TestFormattingRuleFactoryServiceFactory.
Factory
)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Formatting\Indentation\SmartIndenterTests.cs (2)
3422
var
provider = (TestFormattingRuleFactoryServiceFactory.
Factory
)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Formatting\CoreFormatterTestsBase.cs (3)
96
if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.
Factory
factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position))
194
var
factory = (TestFormattingRuleFactoryServiceFactory.
Factory
)formattingRuleProvider;