Remove validation to stat call for symlinks since is a breaking change (#57551)
authorDavid CantĂș <dacantu@microsoft.com>
Tue, 17 Aug 2021 18:51:46 +0000 (11:51 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 18:51:46 +0000 (11:51 -0700)
commitf7ba49d726592baebed130b2006728518e53713a
treed859de76f4bf042754482da392dc16d3e2c1aa69
parent52ae8c334b49c2169daf6ddd9361aeb6598767a5
Remove validation to stat call for symlinks since is a breaking change (#57551)

* Remove validation to stat call for symlinks since is a breaking change, subsequently remove the symlink cache logic as is no longer needed

* Undo try-catch workaround in PhysicalFileProvider

* Fix tests that were failing due to changes
src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs
src/libraries/System.IO.FileSystem/tests/Base/SymbolicLinks/BaseSymbolicLinks.cs
src/libraries/System.IO.FileSystem/tests/DirectoryInfo/SymbolicLinks.cs
src/libraries/System.IO.FileSystem/tests/Enumeration/SymbolicLinksTests.cs
src/libraries/System.Private.CoreLib/src/System/IO/FileStatus.Unix.cs