Interface IFieldReference<T, TResult>
Provides field location in the memory.
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.dll
Syntax
public interface IFieldReference<T, TResult> where T : allows ref struct where TResult : allows ref struct
Type Parameters
| Name | Description |
|---|---|
| T | Declaring type. |
| TResult | The type of the field. |
Methods
View SourceGetReference(in T)
Obtains a reference to the field.
Declaration
public static abstract ref readonly TResult GetReference(in T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The underlying value. |
Returns
| Type | Description |
|---|---|
| TResult | The field reference. |