public void CopyTo(T[] array, int arrayIndex)
 {
     lock (syncRoot) {
         underlyingCollection.CopyTo(array, arrayIndex);
     }
 }