private bool HasConstraint(GenericParameterConstraints flag) { return (_declaration.Constraints & flag) == flag; }