Boo.Lang.Compiler.Steps.GeneratorExpressionProcessor.CreateMethodInvocation C# (CSharp) Метод

CreateMethodInvocation() приватный Метод

private CreateMethodInvocation ( ClassDefinition cd, string name ) : MethodInvocationExpression
cd Boo.Lang.Compiler.Ast.ClassDefinition
name string
Результат Boo.Lang.Compiler.Ast.MethodInvocationExpression
        MethodInvocationExpression CreateMethodInvocation(ClassDefinition cd, string name)
        {
            IMethod method = (IMethod)((Method)cd.Members[name]).Entity;
            return CodeBuilder.CreateMethodInvocation(
                        CodeBuilder.CreateSelfReference(method.DeclaringType),
                        method);
        }