Mono.Cecil.Inject.InjectFlagMethods.IsSet C# (CSharp) Method

IsSet() public static method

Checks whether a certain flag has been set in the given flag.
public static IsSet ( this flags, InjectFlags flag ) : bool
flags this Flag combination to check.
flag InjectFlags Flag to check with.
return bool
        public static bool IsSet(this InjectFlags flags, InjectFlags flag)
        {
            return flag == (flags & flag);
        }
InjectFlagMethods