Boo.Lang.Compiler.Steps.EmitAssembly.GetCallOpCode C# (CSharp) Méthode

GetCallOpCode() private méthode

private GetCallOpCode ( Expression target, IMethod method ) : OpCode
target Boo.Lang.Compiler.Ast.Expression
method IMethod
Résultat 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