public override void VisitLambdaExpression (LambdaExpression lambdaExpression) { var blockStatement = lambdaExpression.Body as BlockStatement; if (blockStatement != null) StatementIssueCollector.Collect (this, blockStatement); base.VisitLambdaExpression (lambdaExpression); }
public override void VisitAnonymousMethodExpression(AnonymousMethodExpression anonymousMethodExpression) { StatementIssueCollector.Collect(this, anonymousMethodExpression.Body); base.VisitAnonymousMethodExpression(anonymousMethodExpression); }
public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) { StatementIssueCollector.Collect(this, methodDeclaration.Body); base.VisitMethodDeclaration(methodDeclaration); }