Table of Contents

Field DebugClr

Namespace
MonoMod
Assembly
MonoMod.Utils.dll
Boolean. Tells MonoMod that it is running on a Debug or Checked build of CoreCLR.
public const string DebugClr = "DebugClr"

Returns

string
Boolean. Tells MonoMod that it is running on a Debug or Checked build of CoreCLR.

Remarks

MonoMod.Core, in its CoreCLR implementation, pokes into certain internal CLR datastructures. Some of these have a different layout in Release builds than in Debug or Checked builds, so MonoMod needs to know which type of build it is running on, and that is not detectable. MonoMod assumes Release builds by default, because that is the most common configuration.