public async Task VerifyCodeFixAsync() { _analyzerAssertions.AddDiagnosticResult(_diagnosticResult); await CSharpCodeFixVerifier <SourceAnalyzer, SourceFixProvider> .VerifyCodeFixAsync(_analyzerAssertions.Subject.Source, _analyzerAssertions.DiagnosticResults.ToArray(), _fixedCode); }
protected sealed override async Task VerifyCodeFixAsync(string markupCode, string expected, int codeActionIndex) { await CSharpCodeFixVerifier <TAnalyzer, TCodeFix> .VerifyCodeFixAsync(markupCode, expected, codeActionIndex); }