A game about forced loneliness, made by TACStudios
1namespace Unity.Burst.CompilerServices
2{
3 /// <summary>
4 /// Compile-time hint intrinsics.
5 /// </summary>
6 public static class Hint
7 {
8 /// <summary>
9 /// Hints to the compiler that the condition is likely to be true.
10 /// </summary>
11 /// <param name="condition">The boolean condition that is likely to be true.</param>
12 /// <returns>The condition.</returns>
13 public static bool Likely(bool condition) => condition;
14
15 /// <summary>
16 /// Hints to the compiler that the condition is unlikely to be true.
17 /// </summary>
18 /// <param name="condition">The boolean condition that is unlikely to be true.</param>
19 /// <returns>The condition.</returns>
20 public static bool Unlikely(bool condition) => condition;
21
22 /// <summary>
23 /// Hints to the compiler that the condition can be assumed to be true.
24 /// </summary>
25 /// <param name="condition">The boolean condition that can be assumed to be true.</param>
26 public static void Assume(bool condition) { }
27 }
28}