private void RegisterAnalyzers(CompilationAnalysisContext context) { ArgumentAnalyzer argumentAnalyzer = new ArgumentAnalyzer(); NameAnalyzer nameAnalyzer = new NameAnalyzer(); FunctionReturnTypeAnalyzer returnTypeAnalyzer = new FunctionReturnTypeAnalyzer(); argumentAnalyzer.ReportProblems(context, availableFunctions, calledFunctions); nameAnalyzer.ReportProblems(context, availableFunctions, calledFunctions); returnTypeAnalyzer.ReportProblems(context, availableFunctions, calledFunctions); }
private void RegisterAnalyzers(CompilationAnalysisContext context) { NameAnalyzer.ReportProblems(context, availableFunctions, calledFunctions); ArgumentAnalyzer.ReportProblems(context, semanticModel, availableFunctions, calledFunctions); FunctionReturnTypeAnalyzer.ReportProblems(context, semanticModel, availableFunctions, calledFunctions); }