7 instantiations of MockCodeCleanupProvider
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
CodeCleanup\CodeCleanupTests.cs (7)
172var transformer = new MockCodeCleanupProvider() 191var transformer = new MockCodeCleanupProvider() 212var transformer = new MockCodeCleanupProvider() 233var transformer = new MockCodeCleanupProvider() 344var transformer = new MockCodeCleanupProvider() 375var transformer = new MockCodeCleanupProvider { ExpectedResult = expectedResult }; 390var spanCodeCleanup = new MockCodeCleanupProvider()
11 references to MockCodeCleanupProvider
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
CodeCleanup\CodeCleanupTests.cs (9)
172var transformer = new MockCodeCleanupProvider() 191var transformer = new MockCodeCleanupProvider() 212var transformer = new MockCodeCleanupProvider() 233var transformer = new MockCodeCleanupProvider() 344var transformer = new MockCodeCleanupProvider() 375var transformer = new MockCodeCleanupProvider { ExpectedResult = expectedResult }; 380private static async Task VerifyRange(string codeWithMarker, MockCodeCleanupProvider transformer, string language = LanguageNames.CSharp) 388private static async Task VerifyRange(string code, ImmutableArray<ICodeCleanupProvider> codeCleanups, ImmutableArray<TextSpan> spans, MockCodeCleanupProvider transformer, string language) 390var spanCodeCleanup = new MockCodeCleanupProvider()
CodeCleanup\MockCodeCleanupProvider.cs (2)
23public Func<MockCodeCleanupProvider, Document, ImmutableArray<TextSpan>, SyntaxFormattingOptions, CancellationToken, Task<Document>>? CleanupDocumentAsyncImpl { get; set; } 26public string Name => nameof(MockCodeCleanupProvider);