Boo.Lang.Compiler.Steps.EmitAssembly.GetCallOpCode C# (CSharp) Метод

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

private GetCallOpCode ( Expression target, IMethod method ) : OpCode
target Boo.Lang.Compiler.Ast.Expression
method IMethod
Результат OpCode
        private OpCode GetCallOpCode(Expression target, IMethod method)
        {
            if (method.IsStatic) return OpCodes.Call;
            if (NodeType.SuperLiteralExpression == target.NodeType) return OpCodes.Call;
            if (IsValueTypeMethodCall(target, method)) return OpCodes.Call;
            return OpCodes.Callvirt;
        }
EmitAssembly