Boo.Lang.Compiler.Steps.ImplementICallableOnCallableDefinitions.ImplementICallableCall C# (CSharp) Method

ImplementICallableCall() private method

private ImplementICallableCall ( InternalCallableType type, ClassDefinition node ) : void
type Boo.Lang.Compiler.TypeSystem.InternalCallableType
node Boo.Lang.Compiler.Ast.ClassDefinition
return void
        void ImplementICallableCall(InternalCallableType type, ClassDefinition node)
        {
            Method call = (Method)node.Members["Call"];
            Debug.Assert(null != call);
            Debug.Assert(0 == call.Body.Statements.Count);

            CallableSignature signature = type.GetSignature();
            int byRefCount = GetByRefParamCount(signature);
            if (byRefCount > 0)
            {
                ImplementByRefICallableCall(call, type, node, signature, byRefCount);
            }
            else
            {
                ImplementRegularICallableCall(call, type, node, signature);
            }
        }