Пример #1
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);
 }
Пример #2
0
 public static void VerifyCodeFix(string path, string pathToExpected, string pathToBatchExpected,
                                  SonarDiagnosticAnalyzer diagnosticAnalyzer, SonarCodeFixProvider codeFixProvider,
                                  IEnumerable <ParseOptions> options = null, params MetadataReference[] additionalReferences)
 {
     CodeFixVerifier.VerifyCodeFix(path, pathToExpected, pathToBatchExpected, diagnosticAnalyzer, codeFixProvider,
                                   null, options, additionalReferences);
 }