Skip to content

M_CodeJam_DebugEnumCode_AnyStateFlagUnset__1

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

DebugEnumCode.AnyStateFlagUnset(TEnum) Method (TEnum, TEnum, String)

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

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

Syntax

C#

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

VB

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

F#

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

Parameters

 

value
Type: TEnum
The value.
flags
Type: TEnum
The bitwise combinations of the flags.
message
Type: System.String
The message.

Type Parameters

 

TEnum
The type of the enum value.

See Also

Reference

DebugEnumCode Class
AnyStateFlagUnset Overload
CodeJam Namespace

Clone this wiki locally