Pchp.CodeAnalysis.Symbols.PEMethodSymbol.HasFlag C# (CSharp) Method

HasFlag() private method

private HasFlag ( MethodAttributes flag ) : bool
flag MethodAttributes
return bool
        private bool HasFlag(MethodAttributes flag)
        {
            // flag must be exactly one bit
            Debug.Assert(flag != 0 && ((ushort)flag & ((ushort)flag - 1)) == 0);
            return ((ushort)flag & _flags) != 0;
        }