private int CalculateNumberOfLocalVariables(SyntaxNode node) { var analyzer = new MethodLocalVariablesAnalyzer(); return analyzer.Calculate(node); }