public override void VisitTryStatement(TryStatementSyntax node) { if (entryPoint.IsMethodLevel() && node.IsParent <AnonymousFunctionExpressionSyntax>()) { return; } noscounter++; base.VisitTryStatement(node); }
public override void VisitTryStatement(TryStatementSyntax node) { if (entryPoint.IsMethodLevel() && node.IsParent <AnonymousFunctionExpressionSyntax>()) { return; } IncreaseHeight(); EmbeddednessConsideredToIncrease(); base.VisitTryStatement(node); currentNL--; EmbeddednessConsideredToDecrease(); }