This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,38 @@
using System;
using System.Runtime.InteropServices;
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>
/// <filterpriority>1</filterpriority>
// Token: 0x02000045 RID: 69
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = 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: 0x06000660 RID: 1632 RVA: 0x00014AF8 File Offset: 0x00012CF8
public ConditionalAttribute(string conditionString)
{
this.myCondition = conditionString;
}
/// <summary>Gets the conditional compilation symbol that is associated with the <see cref="T:System.Diagnostics.ConditionalAttribute" /> attribute.</summary>
/// <returns>A string that specifies the case-sensitive conditional compilation symbol that is associated with the <see cref="T:System.Diagnostics.ConditionalAttribute" /> attribute.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x170000B1 RID: 177
// (get) Token: 0x06000661 RID: 1633 RVA: 0x00014B08 File Offset: 0x00012D08
public string ConditionString
{
get
{
return this.myCondition;
}
}
// Token: 0x0400009A RID: 154
private string myCondition;
}
}