- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
M_CodeJam_DebugEnumCode_AnyStateFlagSet__1
        Andrew Koryavchenko edited this page Jul 4, 2017 
        ·
        3 revisions
      
    Asserts that any bit from specified state flag is set.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
[ConditionalAttribute("DEBUG")]
public static void AnyStateFlagSet<TEnum>(
	TEnum value,
	TEnum flags,
	string message
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertibleVB
<ConditionalAttribute("DEBUG")>
Public Shared Sub AnyStateFlagSet(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) ( 
	value As TEnum,
	flags As TEnum,
	message As String
)F#
[<ConditionalAttribute("DEBUG")>]
static member AnyStateFlagSet : 
        value : 'TEnum * 
        flags : 'TEnum * 
        message : string -> unit  when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- value
- Type: TEnum
 The value.
- flags
- Type: TEnum
 The bitwise combinations of the flags.
- message
- Type: System.String
 The message.
- TEnum
- The type of the enum value.
DebugEnumCode Class
AnyStateFlagSet Overload
CodeJam Namespace