Method PinMethodIfNeeded
PinMethodIfNeeded(MethodBase)
Pins a method if that is required by the runtime.
public IDisposable? PinMethodIfNeeded(MethodBase method)
Parameters
method
MethodBase- The method to pin.
Returns
- IDisposable
- An IDisposable which managed the lifetime of the pin.
- See Also