# CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle)

> Check whether the referenced native container can be written to and increment the secondary version number if so.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.5/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle handle)
```

### Parameters

**** (\[AtomicSafetyHandle]\(/engine/6000.5/script-reference/unity/collections/lowlevel/unsafe/atomicsafetyhandle)): The AtomicSafetyHandle to check.

### Remarks

For more information about native container version numbers, refer to [Copying NativeContainer structures](/engine/6000.5/manual/scripting/optimization/job-system/thread-safe-types/copy-nativecontainer.md).
