DragonECS-ClassicThreads/src/Exceptions.cs
2025-03-14 16:53:39 +08:00

19 lines
418 B
C#

#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
namespace DCFApixels.DragonECS
{
namespace ClassicThreadsInternal
{
internal static class Throw
{
internal static void DoubleParallelIteration()
{
throw new InvalidOperationException("It is forbidden to start a parallel iteration before the last one is finished.");
}
}
}
}