Enable Marshal.SecureStringToBSTR and Marshal.ZeroFreeBSTR on Unix (dotnet/coreclr...
authorJohn Bottenberg <jobotten@microsoft.com>
Tue, 2 May 2017 20:54:52 +0000 (13:54 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 2 May 2017 20:54:52 +0000 (13:54 -0700)
commite36f485a517ffdfbe436829fe58c6ca0412fe171
tree0e3372425b21e46ee1d4d04caaa001bc83c9ca04
parentebc8245a17ee3c97899d21923725fb1c6c991954
Enable Marshal.SecureStringToBSTR and Marshal.ZeroFreeBSTR on Unix (dotnet/coreclr#11234)

Commit migrated from https://github.com/dotnet/coreclr/commit/746495f70725ed14ffbbc4ec53f32dc4010c0b0a
13 files changed:
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/shared/Interop/Windows/Interop.Libraries.cs
src/coreclr/src/mscorlib/shared/Interop/Windows/NtDll/Interop.ZeroMemory.cs [deleted file]
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/coreclr/src/mscorlib/shared/System/Security/SafeBSTRHandle.cs
src/coreclr/src/mscorlib/shared/System/Security/SecureString.Unix.cs
src/coreclr/src/mscorlib/shared/System/Security/SecureString.Windows.cs
src/coreclr/src/mscorlib/src/Microsoft/Win32/Win32Native.cs
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/Marshal.cs
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/PInvokeMarshal.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Runtime/RuntimeImports.cs
src/coreclr/tests/src/Interop/MarshalAPI/String/StringMarshalingTest.cs