private bool IsValueTypeMethodCall(Expression target, IMethod method) { IType type = target.ExpressionType; return type.IsValueType && method.DeclaringType == type; }