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