-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_DebugEnumCode_FlagUnset__1
Andrew Koryavchenko edited this page Jul 4, 2017
·
3 revisions
Asserts that the specified argument flag is not set.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
[ConditionalAttribute("DEBUG")]
public static void FlagUnset<TEnum>(
TEnum value,
string argName,
TEnum flag
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertible
VB
<ConditionalAttribute("DEBUG")>
Public Shared Sub FlagUnset(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) (
value As TEnum,
argName As String,
flag As TEnum
)
F#
[<ConditionalAttribute("DEBUG")>]
static member FlagUnset :
value : 'TEnum *
argName : string *
flag : 'TEnum -> unit when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- value
- Type: TEnum
The argument. - argName
- Type: System.String
Name of the argument. - flag
- Type: TEnum
The flag.
- TEnum
- The type of the enum value.