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