Skip to content

Commit

Permalink
Verify during testing that code fixes do not use WellKnownFixAllProvi…
Browse files Browse the repository at this point in the history
…ders.BatchFixer
  • Loading branch information
sharwell committed Aug 13, 2015
1 parent 44fb8f6 commit f7f53eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected virtual CodeFixProvider GetCSharpCodeFixProvider()
var t1 = this.VerifyFixInternalAsync(LanguageNames.CSharp, this.GetCSharpDiagnosticAnalyzers().ToImmutableArray(), this.GetCSharpCodeFixProvider(), oldSource, newSource, codeFixIndex, allowNewCompilerDiagnostics, maxNumberOfIterations, GetSingleAnalyzerDocumentAsync, cancellationToken).ConfigureAwait(false);

var fixAllProvider = this.GetCSharpCodeFixProvider().GetFixAllProvider();
Assert.NotEqual(WellKnownFixAllProviders.BatchFixer, fixAllProvider);

if (fixAllProvider == null)
{
Expand Down

0 comments on commit f7f53eb

Please sign in to comment.