Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Revert "Remove SecureString marshalling APIs from Marshal type"
Browse files Browse the repository at this point in the history
This reverts commit 63ce191.

We decided to keep SecureString methods on Marshal see discussion in
#18
  • Loading branch information
weshaggard committed Sep 20, 2016
1 parent 6e66a35 commit 8fc5b7f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions netstandard/ref/mscorlib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9892,11 +9892,11 @@ public static void PtrToStructure<T>(System.IntPtr ptr, T structure) { }
//INTEROP public static int ReleaseComObject(object o) { throw null; }
//INTEROP [System.ObsoleteAttribute("This API did not perform any operation and will be removed in future versions of the CLR.", false)]
//INTEROP public static void ReleaseThreadCache() { }
//SECURESTRING public static System.IntPtr SecureStringToBSTR(System.Security.SecureString s) { throw null; }
//SECURESTRING public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) { throw null; }
//SECURESTRING public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; }
//SECURESTRING public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; }
//SECURESTRING public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; }
public static System.IntPtr SecureStringToBSTR(System.Security.SecureString s) { throw null; }
public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) { throw null; }
public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; }
public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; }
public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; }
//INTEROP public static bool SetComObjectData(object obj, object key, object data) { throw null; }
public static int SizeOf(object structure) { throw null; }
public static int SizeOf(System.Type t) { throw null; }
Expand Down

0 comments on commit 8fc5b7f

Please sign in to comment.