Move Marshal to shared partition (#22146)
authorMarek Safar <marek.safar@gmail.com>
Fri, 25 Jan 2019 01:00:33 +0000 (02:00 +0100)
committerJan Kotas <jkotas@microsoft.com>
Fri, 25 Jan 2019 01:00:33 +0000 (17:00 -0800)
commitad03955be542a6ff2501481df676ce3d9e0f427f
treec3cf9ad1c4f31bd7dbe19c6da90d8e29b34de272
parent8f452e8e3c2773d94750ace942f54061717989ef
Move Marshal to shared partition (#22146)

* Move Marshal to shared partition

* Moved code optimizations

* Cosmetic changes

* Avoid duplicate arguments checks bys shipping Encoding.UTF8.GetString
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs [moved from src/System.Private.CoreLib/src/System/Runtime/InteropServices/NonPortable.cs with 91% similarity]
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs [new file with mode: 0644]
src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs [moved from src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs with 62% similarity]