Skip to content

M_CodeJam_DebugEnumCode_AnyFlagUnset__1

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

DebugEnumCode.AnyFlagUnset(TEnum) Method

Asserts that any bit from specified argument flag is not set.

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void AnyFlagUnset<TEnum>(
	TEnum value,
	string argName,
	TEnum flags
)
where TEnum : struct, new()

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub AnyFlagUnset(Of TEnum As {Structure, New}) ( 
	value As TEnum,
	argName As String,
	flags As TEnum
)

F#

[<ConditionalAttribute("DEBUG")>]
static member AnyFlagUnset : 
        value : 'TEnum * 
        argName : string * 
        flags : 'TEnum -> unit  when 'TEnum : struct, new()

Parameters

 

value
Type: TEnum
The argument.
argName
Type: System.String
Name of the argument.
flags
Type: TEnum
The bitwise combinations of the flags.

Type Parameters

 

TEnum
The type of the enum value.

See Also

Reference

DebugEnumCode Class
CodeJam Namespace

Clone this wiki locally