Freeze a delegate to C heap memory and pin the context in the GC.
Pointer to the delegate to freeze
The duplicated delegate in C heap memory
Freeze a delegate to C heap memory and pin the context in the GC.