Fix HasAny() enum helper to ease migration to .Net 4.0
First API draft