/// <summary>
 /// Releases a <see cref="SyncState"/> object back into the pool for reuse.
 /// </summary>
 /// <param name="state">The state.</param>
 private void ReleaseState(SyncState state)
 {
     state.CleanForReuse();
     lock (_statePool)
     {
         _statePool.Enqueue(state);
     }
 }
 /// <summary>
 /// Releases a <see cref="SyncState"/> object back into the pool for reuse.
 /// </summary>
 /// <param name="state">The state.</param>
 private void ReleaseState(SyncState state)
 {
     state.CleanForReuse();
     lock (_statePool)
     {
         _statePool.Enqueue(state);
     }
 }