Internals/Runtimes/InfiniteLoopException.cs

Defines an internal exception type InfiniteLoopException in the Sandbox.Reactivity.Internals.Runtimes namespace, intended to signal an infinite loop when flushing reactive effects.

Rough Code
🐞 The class declaration syntax is invalid for C#: it seems to attempt a primary-constructor style 'InfiniteLoopException(Dictionary<Effect, int>? effectExecutions = null) : Exception(Message)' which is not valid C#; the constructor and class body are malformed so this code will not compile as written.
namespace Sandbox.Reactivity.Internals.Runtimes;

internal class InfiniteLoopException(Dictionary<Effect, int>? effectExecutions = null) : Exception(Message)
{
	private new const string Message = "An infinite loop occurred while flushing effects";

#if DEBUG
#endif
}