Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs b/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
index cfeebc1da..ad14bcd29 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
@@ -70,14 +70,6 @@ namespace System.Security
}
}
- private void EnsureNotDisposed()
- {
- if (_buffer == null)
- {
- throw new ObjectDisposedException(GetType().Name);
- }
- }
-
private void ClearCore()
{
_decryptedLength = 0;
@@ -143,7 +135,7 @@ namespace System.Security
_buffer.Write((ulong)(index * sizeof(char)), c);
}
- internal unsafe IntPtr MarshalToBSTR()
+ internal unsafe IntPtr MarshalToBSTRCore()
{
int length = _decryptedLength;
IntPtr ptr = IntPtr.Zero;