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