using System;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// Indicates that a field should be treated as containing a fixed number of elements of the specified primitive type. This class cannot be inherited.
// Token: 0x02000576 RID: 1398
[Token(Token = "0x2000576")]
[AttributeUsage(AttributeTargets.Field)]
public sealed class FixedBufferAttribute : Attribute
{
/// Initializes a new instance of the class.
/// The type of the elements contained in the buffer.
/// The number of elements in the buffer.
// Token: 0x06002C7D RID: 11389 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C7D")]
[Address(RVA = "0xE66140", Offset = "0xE65140", VA = "0x180E66140")]
public FixedBufferAttribute(Type elementType, int length)
{
}
/// Gets the type of the elements contained in the fixed buffer.
/// The type of the elements.
// Token: 0x170006C2 RID: 1730
// (get) Token: 0x06002C7E RID: 11390 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170006C2")]
public Type ElementType
{
[Token(Token = "0x6002C7E")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// Gets the number of elements in the fixed buffer.
/// The number of elements in the fixed buffer.
// Token: 0x170006C3 RID: 1731
// (get) Token: 0x06002C7F RID: 11391 RVA: 0x00018CD8 File Offset: 0x00016ED8
[Token(Token = "0x170006C3")]
public int Length
{
[Token(Token = "0x6002C7F")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
get
{
return 0;
}
}
// Token: 0x0400195D RID: 6493
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400195D")]
private Type elementType;
// Token: 0x0400195E RID: 6494
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400195E")]
private int length;
}
}