[Proposal]: Throw ObjectDisposedException when appropriate #10648
Labels
Area: Debuggability
Issues impacting the diagnosability of builds, including logging and clearer error messages.
internal-team-onboarding
Priority:3
Work that is nice to have
triaged
Inspired by this comment. It looks like we are not using
ObjectDisposedException
when we should. This exception indicates exactly why the operation couldn't be completed and reduces confusion. We should throw this exception at least in public disposable types.The text was updated successfully, but these errors were encountered: