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: 0x020000BD RID: 189
|
|
[Token(Token = "0x20000BD")]
|
|
[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: 0x06000479 RID: 1145 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000479")]
|
|
[Address(RVA = "0x2F48490", Offset = "0x2F47490", VA = "0x182F48490")]
|
|
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: 0x17000098 RID: 152
|
|
// (set) Token: 0x0600047A RID: 1146 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000098")]
|
|
public Type SwitchLevelType
|
|
{
|
|
[Token(Token = "0x600047A")]
|
|
[Address(RVA = "0x2F48540", Offset = "0x2F47540", VA = "0x182F48540")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000371 RID: 881
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000371")]
|
|
private Type type;
|
|
}
|
|
}
|