Current directory code duplicates Environment (dotnet/corefx#27153)
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>
Thu, 15 Feb 2018 18:32:03 +0000 (10:32 -0800)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2018 18:32:03 +0000 (10:32 -0800)
commit3bbc710304206b590a550fc0d098f4cd437dd910
treea5a3bfffbd430f7c698103d3544de37cb2ade55d
parentdbdf6724437f91e88ad34e93168e015e74514cce
Current directory code duplicates Environment (dotnet/corefx#27153)

Just call Environment.CurrentDirectory. Remove a number of P/Invokes
that are no longer in use.

Commit migrated from https://github.com/dotnet/corefx/commit/8e6222ab2f2b48f20a274272693665dac8259c79
src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj
src/libraries/System.IO.FileSystem/src/System/IO/Directory.cs
src/libraries/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs
src/libraries/System.IO.FileSystem/src/System/IO/FileSystem.Windows.cs