System.IO files cleanup (#61413)
authorAdam Sitnik <adam.sitnik@gmail.com>
Fri, 12 Nov 2021 15:13:09 +0000 (16:13 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Nov 2021 15:13:09 +0000 (16:13 +0100)
commit87a44c3d91dcf230dfdcbf6ee1b9465f5bb5f583
treeeaa563218240984a114b71474aca64e4bd4a9e2d
parent35704e44e5d1b158f21512b1c1081a0e025bde3f
System.IO files cleanup (#61413)

* Environment.SystemPageSize returns cached value

* we are no longer shipping MS.IO.Redist, so we can use Array.MaxLength directly

* we are no longer shipping MS.IO.Redist, there is no need for File to be partial

* we are no longer shipping MS.IO.Redist, there is no need for FileInfo to be partial

* there is no need for .Win32.cs and .Windows.cs file anymore
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/IO/File.cs
src/libraries/System.Private.CoreLib/src/System/IO/File.netcoreapp.cs [deleted file]
src/libraries/System.Private.CoreLib/src/System/IO/FileInfo.cs
src/libraries/System.Private.CoreLib/src/System/IO/FileInfo.netcoreapp.cs [deleted file]
src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Win32.cs [deleted file]
src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Windows.cs
src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Windows.cs