A game about forced loneliness, made by TACStudios
1namespace Unity.Burst.CompilerServices 2{ 3 /// <summary> 4 /// Compile-time queries intrinsics. 5 /// </summary> 6 public static class Constant 7 { 8 /// <summary> 9 /// Performs a compile-time check on whether the provided argument is known to be constant by Burst. 10 /// </summary> 11 /// <typeparam name="T">Type</typeparam> 12 /// <param name="t">The value to check whether it is constant.</param> 13 /// <returns>True if Burst knows at compile-time that it is a constant, false otherwise.</returns> 14 public static bool IsConstantExpression<T>(T t) where T : unmanaged => false; 15 16 /// <summary> 17 /// Performs a compile-time check on whether the provided argument is known to be constant by Burst. 18 /// </summary> 19 /// <param name="t">The value to check whether it is constant.</param> 20 /// <returns>True if Burst knows at compile-time that it is a constant, false otherwise.</returns> 21 public static unsafe bool IsConstantExpression(void* t) => false; 22 } 23}