Is there a way to apply .ConfigureAwait(false) to a whole task subtree?
<p>I have a class that runs thousands of async tasks in parallel which is much greater than amount of worker threads. If I don't do <code>.ConfigureAwait(false)</code> on await calls then I get much lower performance but attaching <code>.ConfigureAwait(false)</code> to every single await call is tedious and reduces code readability. I'm looking for a way to specify some kind of null context in a function that spawns those tasks so that every await call inside them automatically doesn't care about SynchronizationContext. Is it possible?</p>

<p><em>Update:</em> I've done some googling and it looks like once I'm already inside a function with <code>.ConfigureAwait(false)</code> the current SynchronizationContext will be null and I don't need to care about it in child function calls. Is that correct?</p>