Persist() private method

private Persist ( SafeWaitHandle handle ) : void
handle Microsoft.Win32.SafeHandles.SafeWaitHandle
return void
        public static void SetAccessControl(this Semaphore semaphore, SemaphoreSecurity semaphoreSecurity)
        {
            if (semaphoreSecurity == null)
                throw new ArgumentNullException("semaphoreSecurity");

            semaphoreSecurity.Persist(semaphore.GetSafeWaitHandle());
        }
 public void SetAccessControl(SemaphoreSecurity semaphoreSecurity)
 {
     if (semaphoreSecurity == null)
     {
         throw new ArgumentNullException("semaphoreSecurity");
     }
     semaphoreSecurity.Persist(base.SafeWaitHandle);
 }