Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/InteropServices/FieldOffsetAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

28 lines
1.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates the physical position of fields within the unmanaged representation of a class or structure.</summary>
// Token: 0x02000597 RID: 1431
[Token(Token = "0x2000597")]
[AttributeUsage(AttributeTargets.Field)]
[ComVisible(true)]
public sealed class FieldOffsetAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.FieldOffsetAttribute" /> class with the offset in the structure to the beginning of the field.</summary>
/// <param name="offset">The offset in bytes from the beginning of the structure to the beginning of the field.</param>
// Token: 0x06002CBC RID: 11452 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002CBC")]
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
public FieldOffsetAttribute(int offset)
{
}
// Token: 0x040019E5 RID: 6629
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40019E5")]
internal int _val;
}
}