Imported Upstream version 5.18.0.142

Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-09 08:20:59 +00:00
parent e52655b4dc
commit 0abdbe5a7d
1547 changed files with 93792 additions and 47893 deletions

View File

@ -8,18 +8,8 @@ using System.Security.Cryptography;
namespace Internal.Cryptography
{
internal static class Helpers
internal static partial class Helpers
{
public static byte[] CloneByteArray(this byte[] src)
{
if (src == null)
{
return null;
}
return (byte[])(src.Clone());
}
public static KeySizes[] CloneKeySizesArray(this KeySizes[] src)
{
return (KeySizes[])(src.Clone());

View File

@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Diagnostics.Private;
namespace System.Security.Cryptography
{

View File

@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Diagnostics.Private;
namespace System.Security.Cryptography
{

View File

@ -95,6 +95,9 @@
<Compile Include="$(CommonPath)\Internal\Cryptography\BasicSymmetricCipher.cs">
<Link>Internal\Cryptography\BasicSymmetricCipher.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Internal\Cryptography\Helpers.cs">
<Link>Internal\Cryptography\Helpers.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Internal\Cryptography\HashProvider.cs">
<Link>Internal\Cryptography\HashProvider.cs</Link>
</Compile>