Operator explicit operator
explicit operator FunctionPointer(PointerReadOnly)
Converts a PointerReadOnly to a FunctionPointer.
Declaration
public static explicit operator FunctionPointer(PointerReadOnly pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerReadOnly | pointer | The PointerReadOnly to convert. |
Returns
| Type | Description |
|---|---|
| FunctionPointer | A FunctionPointer pointing to the target function that's the same target as the specified PointerReadOnly, reinterpreted as an executable function. |
explicit operator NullableFunctionPointer(PointerReadOnly)
Converts a PointerReadOnly to a NullableFunctionPointer.
Declaration
public static explicit operator NullableFunctionPointer(PointerReadOnly pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerReadOnly | pointer | The PointerReadOnly to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer | A NullableFunctionPointer pointing to the target function that's the same target as the specified PointerReadOnly, reinterpreted as an executable function. |