42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Diagnostics
|
|
{
|
|
/// <summary>Identifies the level type for a switch.</summary>
|
|
// Token: 0x020000C1 RID: 193
|
|
[Token(Token = "0x20000C1")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public sealed class SwitchLevelAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SwitchLevelAttribute" /> class, specifying the type that determines whether a trace should be written.</summary>
|
|
/// <param name="switchLevelType">The <see cref="T:System.Type" /> that determines whether a trace should be written.</param>
|
|
// Token: 0x0600048F RID: 1167 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600048F")]
|
|
[Address(RVA = "0x28AD9E0", Offset = "0x28AC7E0", VA = "0x1828AD9E0")]
|
|
public SwitchLevelAttribute(Type switchLevelType)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the type that determines whether a trace should be written.</summary>
|
|
/// <returns>The <see cref="T:System.Type" /> that determines whether a trace should be written.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The set operation failed because the value is <see langword="null" />.</exception>
|
|
// Token: 0x1700009C RID: 156
|
|
// (set) Token: 0x06000490 RID: 1168 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700009C")]
|
|
public Type SwitchLevelType
|
|
{
|
|
[Token(Token = "0x6000490")]
|
|
[Address(RVA = "0x28ADA90", Offset = "0x28AC890", VA = "0x1828ADA90")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400037E RID: 894
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400037E")]
|
|
private Type type;
|
|
}
|
|
}
|