コード例 #1
0
ファイル: Verifier.cs プロジェクト: louhibi177/sonar-dotnet
 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
ファイル: Verifier.cs プロジェクト: ewin66/sonar-dotnet
 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);