Пример #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,
                                  SonarDiagnosticAnalyzer diagnosticAnalyzer,
                                  SonarCodeFixProvider codeFixProvider,
                                  IEnumerable <ParseOptions> options = null,
                                  OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary,
                                  IEnumerable <MetadataReference> additionalReferences = null) =>
 CodeFixVerifier.VerifyCodeFix(path, pathToExpected, pathToExpected, diagnosticAnalyzer, codeFixProvider, null, options, outputKind, additionalReferences);