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