30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Diagnostics
|
|
{
|
|
/// <summary>Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined.</summary>
|
|
// Token: 0x02000638 RID: 1592
|
|
[Token(Token = "0x2000638")]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class ConditionalAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.ConditionalAttribute" /> class.</summary>
|
|
/// <param name="conditionString">A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute.</param>
|
|
// Token: 0x06003179 RID: 12665 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6003179")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public ConditionalAttribute(string conditionString)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001B1A RID: 6938
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001B1A")]
|
|
private string m_conditionString;
|
|
}
|
|
}
|