28 lines
1.3 KiB
C#
28 lines
1.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Indicates that the use of a value tuple on a member is meant to be treated as a tuple with element names.</summary>
|
|
// Token: 0x0200054E RID: 1358
|
|
[Token(Token = "0x200054E")]
|
|
[CLSCompliant(false)]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
|
public sealed class TupleElementNamesAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.TupleElementNamesAttribute" /> class.</summary>
|
|
/// <param name="transformNames">A string array that specifies, in a pre-order depth-first traversal of a type's construction, which value tuple occurrences are meant to carry element names.</param>
|
|
// Token: 0x06002C07 RID: 11271 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C07")]
|
|
[Address(RVA = "0x2CFD410", Offset = "0x2CFC410", VA = "0x182CFD410")]
|
|
public TupleElementNamesAttribute(string[] transformNames)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400192A RID: 6442
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400192A")]
|
|
private readonly string[] _transformNames;
|
|
}
|
|
}
|