private bool IsSupportedDiagnostic(DiagnosticAnalyzer analyzer, Diagnostic diagnostic) { Debug.Assert(_isCompilerAnalyzer != null); if (diagnostic is DiagnosticWithInfo) { // Compiler diagnostic return(true); } return(_analyzerManager.IsSupportedDiagnostic(analyzer, diagnostic, _isCompilerAnalyzer, this)); }
private bool IsSupportedDiagnostic(DiagnosticAnalyzer analyzer, Diagnostic diagnostic) { Debug.Assert(_isCompilerAnalyzer != null); return(_analyzerManager.IsSupportedDiagnostic(analyzer, diagnostic, _isCompilerAnalyzer, this)); }