3 references to TestFormattingRuleFactoryServiceFactory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Formatting\CoreFormatterTestsBase.cs (3)
42private static readonly TestComposition s_composition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestFormattingRuleFactoryServiceFactory)); 97if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position)) 195var factory = (TestFormattingRuleFactoryServiceFactory.Factory)formattingRuleProvider;