using System; namespace System.Runtime.InteropServices { /// Indicates the physical position of fields within the unmanaged representation of a class or structure. // Token: 0x02000059 RID: 89 [AttributeUsage(AttributeTargets.Field, Inherited = false)] [ComVisible(true)] public sealed class FieldOffsetAttribute : Attribute { /// Initializes a new instance of the class with the offset in the structure to the beginning of the field. /// The offset, in bytes, from the beginning of the structure to the beginning of the field. // Token: 0x0600068D RID: 1677 RVA: 0x00014D90 File Offset: 0x00012F90 public FieldOffsetAttribute(int offset) { this.val = offset; } /// Gets the offset from the beginning of the structure to the beginning of the field. /// The offset from the beginning of the structure to the beginning of the field. // Token: 0x170000C3 RID: 195 // (get) Token: 0x0600068E RID: 1678 RVA: 0x00014DA0 File Offset: 0x00012FA0 public int Value { get { return this.val; } } // Token: 0x040000B2 RID: 178 private int val; } }