237 lines
7.7 KiB
C#
237 lines
7.7 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Diagnostics.Tracing
|
|
{
|
|
/// <summary>Specifies additional event schema information for an event.</summary>
|
|
// Token: 0x0200068F RID: 1679
|
|
[Token(Token = "0x200068F")]
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public sealed class EventAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventAttribute" /> class with the specified event identifier.</summary>
|
|
/// <param name="eventId">The event identifier for the event.</param>
|
|
// Token: 0x060031B6 RID: 12726 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60031B6")]
|
|
[Address(RVA = "0x1B6F560", Offset = "0x1B6E360", VA = "0x181B6F560")]
|
|
public EventAttribute(int eventId)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the identifier for the event.</summary>
|
|
/// <returns>The event identifier. This value should be between 0 and 65535.</returns>
|
|
// Token: 0x170007AE RID: 1966
|
|
// (get) Token: 0x060031B7 RID: 12727 RVA: 0x00019758 File Offset: 0x00017958
|
|
// (set) Token: 0x060031B8 RID: 12728 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007AE")]
|
|
public int EventId
|
|
{
|
|
[Token(Token = "0x60031B7")]
|
|
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
[Token(Token = "0x60031B8")]
|
|
[Address(RVA = "0x536480", Offset = "0x535280", VA = "0x180536480")]
|
|
[CompilerGenerated]
|
|
private set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the level for the event.</summary>
|
|
/// <returns>One of the enumeration values that specifies the level for the event.</returns>
|
|
// Token: 0x170007AF RID: 1967
|
|
// (get) Token: 0x060031B9 RID: 12729 RVA: 0x00019770 File Offset: 0x00017970
|
|
// (set) Token: 0x060031BA RID: 12730 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007AF")]
|
|
public EventLevel Level
|
|
{
|
|
[Token(Token = "0x60031B9")]
|
|
[Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return EventLevel.LogAlways;
|
|
}
|
|
[Token(Token = "0x60031BA")]
|
|
[Address(RVA = "0x52EC20", Offset = "0x52DA20", VA = "0x18052EC20")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the keywords for the event.</summary>
|
|
/// <returns>A bitwise combination of the enumeration values.</returns>
|
|
// Token: 0x170007B0 RID: 1968
|
|
// (get) Token: 0x060031BB RID: 12731 RVA: 0x00019788 File Offset: 0x00017988
|
|
// (set) Token: 0x060031BC RID: 12732 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007B0")]
|
|
public EventKeywords Keywords
|
|
{
|
|
[Token(Token = "0x60031BB")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return EventKeywords.None;
|
|
}
|
|
[Token(Token = "0x60031BC")]
|
|
[Address(RVA = "0x3F7210", Offset = "0x3F6010", VA = "0x1803F7210")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the operation code for the event.</summary>
|
|
/// <returns>One of the enumeration values that specifies the operation code.</returns>
|
|
// Token: 0x170007B1 RID: 1969
|
|
// (get) Token: 0x060031BD RID: 12733 RVA: 0x000197A0 File Offset: 0x000179A0
|
|
// (set) Token: 0x060031BE RID: 12734 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007B1")]
|
|
public EventOpcode Opcode
|
|
{
|
|
[Token(Token = "0x60031BD")]
|
|
[Address(RVA = "0x40FFE0", Offset = "0x40EDE0", VA = "0x18040FFE0")]
|
|
get
|
|
{
|
|
return EventOpcode.Info;
|
|
}
|
|
[Token(Token = "0x60031BE")]
|
|
[Address(RVA = "0x1B6F590", Offset = "0x1B6E390", VA = "0x181B6F590")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x170007B2 RID: 1970
|
|
// (get) Token: 0x060031BF RID: 12735 RVA: 0x000197B8 File Offset: 0x000179B8
|
|
[Token(Token = "0x170007B2")]
|
|
internal bool IsOpcodeSet
|
|
{
|
|
[Token(Token = "0x60031BF")]
|
|
[Address(RVA = "0x4508A0", Offset = "0x44F6A0", VA = "0x1804508A0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the task for the event.</summary>
|
|
/// <returns>The task for the event.</returns>
|
|
// Token: 0x170007B3 RID: 1971
|
|
// (get) Token: 0x060031C0 RID: 12736 RVA: 0x000197D0 File Offset: 0x000179D0
|
|
// (set) Token: 0x060031C1 RID: 12737 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007B3")]
|
|
public EventTask Task
|
|
{
|
|
[Token(Token = "0x60031C0")]
|
|
[Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return EventTask.None;
|
|
}
|
|
[Token(Token = "0x60031C1")]
|
|
[Address(RVA = "0x420360", Offset = "0x41F160", VA = "0x180420360")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the version of the event.</summary>
|
|
/// <returns>The version of the event.</returns>
|
|
// Token: 0x170007B4 RID: 1972
|
|
// (get) Token: 0x060031C2 RID: 12738 RVA: 0x000197E8 File Offset: 0x000179E8
|
|
[Token(Token = "0x170007B4")]
|
|
public byte Version
|
|
{
|
|
[Token(Token = "0x60031C2")]
|
|
[Address(RVA = "0x431BC0", Offset = "0x4309C0", VA = "0x180431BC0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the message for the event.</summary>
|
|
/// <returns>The message for the event.</returns>
|
|
// Token: 0x170007B5 RID: 1973
|
|
// (get) Token: 0x060031C3 RID: 12739 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x060031C4 RID: 12740 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007B5")]
|
|
public string Message
|
|
{
|
|
[Token(Token = "0x60031C3")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60031C4")]
|
|
[Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see cref="T:System.Diagnostics.Tracing.EventTags" /> value for this <see cref="T:System.Diagnostics.Tracing.EventAttribute" /> object. An event tag is a user-defined value that is passed through when the event is logged.</summary>
|
|
/// <returns>The <see cref="T:System.Diagnostics.Tracing.EventTags" /> value for this <see cref="T:System.Diagnostics.Tracing.EventAttribute" /> object. An event tag is a user-defined value that is passed through when the event is logged.</returns>
|
|
// Token: 0x170007B6 RID: 1974
|
|
// (get) Token: 0x060031C5 RID: 12741 RVA: 0x00019800 File Offset: 0x00017A00
|
|
[Token(Token = "0x170007B6")]
|
|
public EventTags Tags
|
|
{
|
|
[Token(Token = "0x60031C5")]
|
|
[Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return EventTags.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Specifies the behavior of the start and stop events of an activity. An activity is the region of time in an app between the start and the stop.</summary>
|
|
/// <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventActivityOptions" />.</returns>
|
|
// Token: 0x170007B7 RID: 1975
|
|
// (get) Token: 0x060031C6 RID: 12742 RVA: 0x00019818 File Offset: 0x00017A18
|
|
// (set) Token: 0x060031C7 RID: 12743 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170007B7")]
|
|
public EventActivityOptions ActivityOptions
|
|
{
|
|
[Token(Token = "0x60031C6")]
|
|
[Address(RVA = "0x436510", Offset = "0x435310", VA = "0x180436510")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return EventActivityOptions.None;
|
|
}
|
|
[Token(Token = "0x60031C7")]
|
|
[Address(RVA = "0x643C00", Offset = "0x642A00", VA = "0x180643C00")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001BAA RID: 7082
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4001BAA")]
|
|
private EventOpcode m_opcode;
|
|
|
|
// Token: 0x04001BAB RID: 7083
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x4001BAB")]
|
|
private bool m_opcodeSet;
|
|
}
|
|
}
|