Internal request to back-port below PR to MDS v5.2: https://github.com/dotnet/SqlClient/pull/3749