public static void VerifyCodeFix(string path, string pathToExpected, string pathToBatchExpected, SonarDiagnosticAnalyzer diagnosticAnalyzer,
                                  SonarCodeFixProvider codeFixProvider)
 {
     VerifyCodeFix(path, pathToExpected, pathToBatchExpected, diagnosticAnalyzer, codeFixProvider, null);
 }
 public static void VerifyCodeFix(string path, string pathToExpected, SonarDiagnosticAnalyzer diagnosticAnalyzer,
                                  SonarCodeFixProvider codeFixProvider, string codeFixTitle)
 {
     VerifyCodeFix(path, pathToExpected, pathToExpected, diagnosticAnalyzer, codeFixProvider, codeFixTitle);
 }
Exemple #3
0
 public static void VerifyCodeFix(string path, string pathToExpected,
                                  SonarDiagnosticAnalyzer diagnosticAnalyzer, SonarCodeFixProvider codeFixProvider, string codeFixTitle,
                                  IEnumerable <ParseOptions> options = null, IEnumerable <MetadataReference> additionalReferences = null)
 {
     CodeFixVerifier.VerifyCodeFix(path, pathToExpected, pathToExpected, diagnosticAnalyzer, codeFixProvider, codeFixTitle, options, additionalReferences);
 }