final attribute · System.Runtime.InteropServices
FieldOffsetAttribute
public final attribute FieldOffset
[FieldOffset(n)] on each field of a [ValueLayout(Layout.Explicit)] value: its place in bytes from the start.
- Kind
- final attribute
- Namespace
- System.Runtime.InteropServices
- Assembly
- System.Core
- Access
- public, final
- Source file
Interop.ant
Inheritance
Constructors
Fields
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
FieldOffsetAttribute as Antril, decompiled from its Larva HIR.
// System.Runtime.InteropServices.FieldOffsetAttribute — System.Core (decompiled from Larva HIR)
into namespace System.Runtime.InteropServices
{
/// `[FieldOffset(n)]` on each field of a `[ValueLayout(Layout.Explicit)]` value: its place in bytes from the start.
public final attribute FieldOffset
{
public:
/// Bytes from the start of the value.
i32 Offset;
new(i32 offset)
{
Offset = offset;
}
}
}