Skip to content

M_CodeJam_DebugCode_NotNull__1_1

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

DebugCode.NotNull(T) Method (T, String)

Ensures that arg != null

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void NotNull<T>(
	T arg,
	string argName
)
where T : class

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub NotNull(Of T As Class) (