PostSharp//API Reference/Post­Sharp.​Reflection.​Method­Body/Address­Alignment
Open sandboxFocus

Class AddressAlignment

Enumeration of address alignments for access to unmanaged memory represented by ICopyBufferExpression, IFieldExpression or IValueOfExpression.

Inheritance
AddressAlignment
Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public sealed class AddressAlignment : Enum

Fields

Name Description
Default

Default alignment (machine word).

Unaligned1

1-byte alignment.

Unaligned2

2-byte alignment.

Unaligned4

4-byte alignment.

value__