Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -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)