PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Field­Def­Declaration Class / Field­Def­Declaration Fields / Field­Def­Declaration.​Auto­Offset Field

FieldDefDeclaration.AutoOffset Field

When applied to the Offset value, indicates that the offset is determined by the runtime automatically.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public const int AutoOffset = -1

Field Value

Type: Int32
See Also