Fix warning

This commit is contained in:
goaaats 2025-04-03 00:37:20 +02:00
parent ca438b6e69
commit c1805bd510

View file

@ -30,7 +30,7 @@ internal class FrameworkTaskSchedulerSelfTestStep : ISelfTestStep
ThreadSafety.AssertMainThread(); ThreadSafety.AssertMainThread();
await Task.Delay(100); await Task.Delay(100);
// TODO: We used to be scheduled back to the framework thread here. Is that by design? // TODO: Should we be scheduled back to the framework thread here?
// ThreadSafety.AssertMainThread(); // ThreadSafety.AssertMainThread();
ThreadSafety.AssertNotMainThread(); ThreadSafety.AssertNotMainThread();
}).ConfigureAwait(false); }).ConfigureAwait(false);