Use sync IO when the physical path is available (#37846)
authorDavid Fowler <davidfowl@gmail.com>
Wed, 17 Jun 2020 01:42:46 +0000 (18:42 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 01:42:46 +0000 (18:42 -0700)
commit7fcc127a84ccfbe43d7c7e3ba9e786a33e29676b
tree9242d5517544b0acdef2808abb09afb946acb8e0
parentd81fbdc8c03b57b8fda458655432f35c58a63501
Use sync IO when the physical path is available (#37846)

* Use sync IO when the physical path is available
- This should remove the overhead of doing async io for the synchronous configuration system
src/libraries/Microsoft.Extensions.Configuration.FileExtensions/src/FileConfigurationProvider.cs
src/libraries/Microsoft.Extensions.Configuration/tests/Common/TestStreamHelpers.cs