Exemple #1
0
 internal static bool ShouldAnalyze(this SyntaxTree tree, AnalyzerOptions options,
                                    Compilation compilation)
 // TODO PERF: do the global setting check before the per-file check.
 => DiagnosticAnalyzerContextHelper.ShouldAnalyze(CSharp.CSharpGeneratedCodeRecognizer.Instance,
                                                  tree,
                                                  compilation,
                                                  options);
 internal static bool ShouldAnalyze(this SyntaxTree tree, AnalyzerOptions options, Compilation compilation) =>
 DiagnosticAnalyzerContextHelper.ShouldAnalyze(CSharpGeneratedCodeRecognizer.Instance, tree, compilation, options);