PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyAddress­Alignment
Open sandboxFocus

AddressAlignment Class

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

Inheritance
System.Object
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__