Boo.Lang.Compiler.Steps.EmitAssembly.IsValueTypeMethodCall C# (CSharp) Method

IsValueTypeMethodCall() private method

private IsValueTypeMethodCall ( Expression target, IMethod method ) : bool
target Boo.Lang.Compiler.Ast.Expression
method IMethod
return bool
        private bool IsValueTypeMethodCall(Expression target, IMethod method)
        {
            IType type = target.ExpressionType;
            return type.IsValueType && method.DeclaringType == type;
        }
EmitAssembly