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: 0x02000617 RID: 1559
|
|
[Token(Token = "0x2000617")]
|
|
[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: 0x06002F61 RID: 12129 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002F61")]
|
|
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
|
public ConditionalAttribute(string conditionString)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001A57 RID: 6743
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001A57")]
|
|
private string m_conditionString;
|
|
}
|
|
}
|