Show / Hide Table of Contents

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 Source

GetReference(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.

  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾