I have seemingly odd request, I want to extend Unity.Collection Classes such as NativeList, NativeHashMap using partial. However as they live in their own package/assembly, and just adding a partial keyword there doesnt connect it to the cs file in unity folder.
Can please assist here? How can i achieve this usecase?
Actually as i have lots of native collections of different types (List, HashMaps etc) and i want to use loops to represent all with one interface and clear, dispose and remove keys easily.