-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_DebugCode_NotNull__1_1
andrewvk edited this page Mar 30, 2016
·
8 revisions
[This is preliminary documentation and is subject to change.]
Ensures that arg != null
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[ConditionalAttribute("DEBUG")]
[AssertionMethodAttribute]
public static void NotNull<T>(
[CanBeNullAttribute][NoEnumerationAttribute] T arg,
[NotNullAttribute][InvokerParameterNameAttribute] string argName
)
where T : class
VB
<ConditionalAttribute("DEBUG")>
<AssertionMethodAttribute>
Public Shared Sub NotNull(Of T As Class) (
<CanBeNullAttribute><NoEnumerationAttribute> arg As T,
<NotNullAttribute><InvokerParameterNameAttribute> argName As String
)
F#
[<ConditionalAttribute("DEBUG")>]
[<AssertionMethodAttribute>]
static member NotNull :
[<CanBeNullAttribute>][<NoEnumerationAttribute>] arg : 'T *
[<NotNullAttribute>][<InvokerParameterNameAttribute>] argName : string -> unit when 'T : not struct
- arg
- Type: T
[Missing documentation for "M:CodeJam.DebugCode.NotNull1(
0,System.String)"] - argName
- Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.NotNull1(
0,System.String)"]
- T