Class CollectionChecks
Inheritance
CollectionChecks
Assembly: ProjectDawn.Navigation.dll
Syntax
public static class CollectionChecks
Methods
|
Improve this Doc
View Source
CheckAllocator(AllocatorHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckAllocator(AllocatorManager.AllocatorHandle allocator)
Parameters
| Type |
Name |
Description |
| AllocatorManager.AllocatorHandle |
allocator |
|
|
Improve this Doc
View Source
CheckCapacity(int)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[Conditional("UNITY_DOTS_DEBUG")]
public static void CheckCapacity(int capacity)
Parameters
| Type |
Name |
Description |
| int |
capacity |
|
|
Improve this Doc
View Source
CheckCapacityInRange(int, int)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[Conditional("UNITY_DOTS_DEBUG")]
public static void CheckCapacityInRange(int capacity, int length)
Parameters
| Type |
Name |
Description |
| int |
capacity |
|
| int |
length |
|
|
Improve this Doc
View Source
CheckIndexInRange(int, int)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[Conditional("UNITY_DOTS_DEBUG")]
public static void CheckIndexInRange(int index, int length)
Parameters
| Type |
Name |
Description |
| int |
index |
|
| int |
length |
|
|
Improve this Doc
View Source
CheckIsUnmanaged<T>()
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[BurstDiscard]
public static void CheckIsUnmanaged<T>()
Type Parameters
|
Improve this Doc
View Source
CheckNull<T>(T*)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckNull<T>(T* listData) where T : unmanaged
Parameters
| Type |
Name |
Description |
| T* |
listData |
|
Type Parameters
|
Improve this Doc
View Source
CheckPositive(int)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckPositive(int value)
Parameters
| Type |
Name |
Description |
| int |
value |
|
|
Improve this Doc
View Source
CheckReinterpret<T>(int)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckReinterpret<T>(int size) where T : unmanaged
Parameters
| Type |
Name |
Description |
| int |
size |
|
Type Parameters
|
Improve this Doc
View Source
ShouldDeallocate(AllocatorHandle)
Declaration
public static bool ShouldDeallocate(AllocatorManager.AllocatorHandle allocator)
Parameters
| Type |
Name |
Description |
| AllocatorManager.AllocatorHandle |
allocator |
|
Returns