X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Security%2FSecureString.cs;h=765f61981df9a2f11fbca50627965f35295e4174;hb=e78b5e75cc532a49cbd64c91fa9b7c3fdbeb8529;hp=60ab898d2816b7ccffc0422dd55069798307294b;hpb=4df4b7a47a07d924d7bfcfc53f43bd2319b54266;p=mono.git diff --git a/mcs/class/corlib/System.Security/SecureString.cs b/mcs/class/corlib/System.Security/SecureString.cs index 60ab898d281..765f61981df 100644 --- a/mcs/class/corlib/System.Security/SecureString.cs +++ b/mcs/class/corlib/System.Security/SecureString.cs @@ -33,9 +33,7 @@ using System.Runtime.InteropServices; using System.Runtime.ConstrainedExecution; using System.Security.Cryptography; using System.Security.Permissions; -#if NET_4_0 using System.Runtime.ExceptionServices; -#endif namespace System.Security { @@ -91,9 +89,7 @@ namespace System.Security { } } -#if NET_4_0 [HandleProcessCorruptedStateExceptions] -#endif public void AppendChar (char c) { if (disposed) @@ -150,9 +146,7 @@ namespace System.Security { length = 0; } -#if NET_4_0 [HandleProcessCorruptedStateExceptions] -#endif public void InsertAt (int index, char c) { if (disposed) @@ -194,9 +188,7 @@ namespace System.Security { read_only = true; } -#if NET_4_0 [HandleProcessCorruptedStateExceptions] -#endif public void RemoveAt (int index) { if (disposed) @@ -218,9 +210,7 @@ namespace System.Security { } } -#if NET_4_0 [HandleProcessCorruptedStateExceptions] -#endif public void SetAt (int index, char c) { if (disposed)