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

Base classes
Any Attribute FieldOffsetAttribute

Constructors

new(i32 offset)
#

Fields

i32 Offset
#

Bytes from the start of the value.

Inherited members (5)

Source

FieldOffsetAttribute as Antril, decompiled from its Larva HIR.

System.Runtime.InteropServices.FieldOffsetAttribute.ant
// 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;
			}
	}
}
Esc