Example #1
0
            protected override Void handleLambda(LambdaExpressionNode lambda, Set <TypeInfo> dependencies, bool nested)
            {
                var m = lambda.getUserData(typeof(MethodInfo));

                foreach (var p in m.Parameters)
                {
                    addDependencies(p.Type, dependencies);
                }
                statementHandler.handleStatement(lambda.Body, dependencies);
                return(null);
            }
Example #2
0
 public void enterLambda(LambdaExpressionNode declaration)
 {
     methodInfos.add(declaration.getUserData(typeof(MethodInfo)));
 }