Exemplo n.º 1
0
 public override void VisitForEachStatement(ForEachStatementSyntax node)
 {
     if (entryPoint.IsMethodLevel() && node.IsParent <AnonymousFunctionExpressionSyntax>())
     {
         return;
     }
     noscounter++;
     base.VisitForEachStatement(node);
 }
Exemplo n.º 2
0
 public override void VisitForEachStatement(ForEachStatementSyntax node)
 {
     if (entryPoint.IsMethodLevel() && node.IsParent <AnonymousFunctionExpressionSyntax>())
     {
         return;
     }
     IncreaseHeight();
     EmbeddednessConsideredToIncrease();
     base.VisitForEachStatement(node);
     currentNL--;
     EmbeddednessConsideredToDecrease();
 }