It is well-known that if there is a function $f: \Omega \subset \mathbb R^n \rightarrow X$ with $\Omega$ open and $X$ is a Hilbert space, then continuity of $f$ implies also Bochner measurability of $f$.
I was wondering whether this is also true if $\Omega$ is an open subset of a Hilbert space.
Does it hold if we additionally assume $f$ to be linear?