HasFlag doesn't exist in NET 3.5