Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Diagnostics/Debugger.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

75 lines
2.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Diagnostics
{
/// <summary>Enables communication with a debugger. This class cannot be inherited.</summary>
// Token: 0x02000642 RID: 1602
[Token(Token = "0x2000642")]
[MonoTODO]
[ComVisible(true)]
[MonoTODO("The Debugger class is not functional")]
public sealed class Debugger
{
/// <summary>Gets a value that indicates whether a debugger is attached to the process.</summary>
/// <returns>
/// <see langword="true" /> if a debugger is attached; otherwise, <see langword="false" />.</returns>
// Token: 0x170007E1 RID: 2017
// (get) Token: 0x06003183 RID: 12675 RVA: 0x0001B078 File Offset: 0x00019278
[Token(Token = "0x170007E1")]
public static bool IsAttached
{
[Token(Token = "0x6003183")]
[Address(RVA = "0x254BA20", Offset = "0x254AA20", VA = "0x18254BA20")]
get
{
return default(bool);
}
}
// Token: 0x06003184 RID: 12676 RVA: 0x0001B090 File Offset: 0x00019290
[Token(Token = "0x6003184")]
[Address(RVA = "0x254B9D0", Offset = "0x254A9D0", VA = "0x18254B9D0")]
private static bool IsAttached_internal()
{
return default(bool);
}
/// <summary>Checks to see if logging is enabled by an attached debugger.</summary>
/// <returns>
/// <see langword="true" /> if a debugger is attached and logging is enabled; otherwise, <see langword="false" />. The attached debugger is the registered managed debugger in the <see langword="DbgManagedDebugger" /> registry key. For more information on this key, see Enabling JIT-Attach Debugging.</returns>
// Token: 0x06003185 RID: 12677 RVA: 0x0001B0A8 File Offset: 0x000192A8
[Token(Token = "0x6003185")]
[Address(RVA = "0xB53DD0", Offset = "0xB52DD0", VA = "0x180B53DD0")]
public static bool IsLogging()
{
return default(bool);
}
/// <summary>Posts a message for the attached debugger.</summary>
/// <param name="level">A description of the importance of the message.</param>
/// <param name="category">The category of the message.</param>
/// <param name="message">The message to show.</param>
// Token: 0x06003186 RID: 12678 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6003186")]
[Address(RVA = "0x724D20", Offset = "0x723D20", VA = "0x180724D20")]
public static void Log(int level, string category, string message)
{
}
/// <summary>Notifies a debugger that execution is about to enter a path that involves a cross-thread dependency.</summary>
// Token: 0x06003187 RID: 12679 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6003187")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
public static void NotifyOfCrossThreadDependency()
{
}
/// <summary>Represents the default category of message with a constant.</summary>
// Token: 0x04001B2B RID: 6955
[Token(Token = "0x4001B2B")]
public static readonly string DefaultCategory;
}
}