DragonECS-ClassicThreads/src/Exceptions.cs

16 lines
380 B
C#
Raw Normal View History

2023-06-26 01:58:18 +08:00
using System;
namespace DCFApixels.DragonECS
{
2023-06-26 02:58:59 +08:00
namespace ClassicThreadsInternal
2023-06-26 01:58:18 +08:00
{
2023-06-26 02:58:59 +08:00
internal static class Throw
2023-06-26 01:58:18 +08:00
{
2023-06-26 02:58:59 +08:00
internal static void DoubleParallelIteration()
{
throw new InvalidOperationException("It is forbidden to start a parallel iteration before the last one is finished.");
}
2023-06-26 01:58:18 +08:00
}
}
}