Closed
Description
While looking at #57303 I discovered the ResultsOfTResult1TResult2_Throws_InvalidOperationException_WhenResultIsNull
and other related tests from src/Http/Http.Results/test/ResultsOfTTests.Generated.cs don't actually throw an InvalidOperationException, but no exception at all.
We didn't notice because we didn't await the Assert.ThrowsAsync.
Filing this issue for tracking.