How to reproduce:
1. Create a new project using the "Universal 3D" template
2. In the Project Settings, add "ENABLE_UNITY_COLLECTIONS_CHECKS" to the Scripting Define Symbols
3. Build the project
4. Observe the Console
Actual result: Project build fails and more than 60 errors are thrown from the Collections package
Expected result: Project build succeeds
Reproducible with: 1.2.4 (2023.1.0a3), 6.5.0 (6000.6.0a2)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Example of an error message that is thrown: “Library\PackageCache\com.unity.collections@32dc8bfa8d72\Unity.Collections\NativeParallelMultiHashMap.cs(659,13): error CS0246: The type or namespace name 'AtomicSafetyHandle' could not be found”