So I have a delegate which points to some function which I don\'t actually know about when I first create the delegate object. The object is set to
delegate
While other answers provide some working ways there's a shorter one:
Expression.Invoke(Expression.Constant(my_delegate), parameter_for_delegate)
It works both for delegates referencing static methods and instance methods with no change.