TrampolineBlockBase.GetExistingManagedDelegate(IntPtr) Method

Definition

Gets the existing managed delegate for a block if it wraps managed code.

protected static object GetExistingManagedDelegate(IntPtr block);
protected static object? GetExistingManagedDelegate(IntPtr block);
static member GetExistingManagedDelegate : nativeint -> obj

Parameters

block
IntPtr

nativeint

The native block pointer.

Returns

The managed delegate if this is a managed block; otherwise, null.

Applies to