Skip to content

M_CodeJam_DebugCode_BugIf

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

DebugCode.BugIf Method (Boolean, String)

Asserts if the given condition is satisfied.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void BugIf(
	bool condition,
	string message
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub BugIf ( 
	condition As Boolean,
	message As String
)

F#

[<ConditionalAttribute("DEBUG")>]
static member BugIf : 
        condition : bool * 
        message : string -> unit 

Parameters

 

condition
Type: System.Boolean
The condition to check.
message
Type: System.String
The message.

See Also

Reference

DebugCode Class
BugIf Overload
CodeJam Namespace

Clone this wiki locally