Imported Upstream version 5.10.0.69

Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-29 19:03:06 +00:00
parent d8f8abd549
commit e2950ec768
6283 changed files with 453847 additions and 91879 deletions

View File

@ -7,7 +7,6 @@
using System;
using System.Security.AccessControl;
using System.Diagnostics.Contracts;
namespace System.Threading
{
@ -22,7 +21,6 @@ namespace System.Threading
{
if (eventSecurity == null)
throw new ArgumentNullException(nameof(eventSecurity));
Contract.EndContractBlock();
eventSecurity.Persist(handle.GetSafeWaitHandle());
}
@ -36,7 +34,6 @@ namespace System.Threading
{
if (mutexSecurity == null)
throw new ArgumentNullException(nameof(mutexSecurity));
Contract.EndContractBlock();
mutexSecurity.Persist(mutex.GetSafeWaitHandle());
}