Table of Contents

Class Diagnostics

Namespace
Support
Assembly
Support.dll
public static class Diagnostics
Inheritance
Diagnostics
Inherited Members

Fields

DebugDefine

public const string DebugDefine = "DEBUG"

Field Value

string

ShrinkDynamicContainers

public const string ShrinkDynamicContainers = "SHRINK_DYNAMIC_CONTAINERS"

Field Value

string

WithInstrumentationDefine

public const string WithInstrumentationDefine = "WITH_INSTRUMENTATION"

Field Value

string

Methods

Question(bool)

An assertion that is questionable.

public static void Question(bool condition)

Parameters

condition bool

Remarks

Use this in code where a condition looks like it needs to hold but may not. This is meant to be a temporary assert to help debug or understand code.

Question(bool, string)

An assertion that is questionable.

public static void Question(bool condition, string message)

Parameters

condition bool
message string

Remarks

Use this in code where a condition looks like it needs to hold but may not. This is meant to be a temporary assert to help debug or understand code.