We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed7705 commit 1ef29ddCopy full SHA for 1ef29dd
src/CoroutineScheduler/Scheduler.cs
@@ -63,7 +63,7 @@ public Scheduler()
63
private ContextCallback? Runner { get; set; }
64
65
private int? ResumingOnThread { get; set; }
66
- private bool RequiresMarshalling => !ResumingOnThread.HasValue || ResumingOnThread.Value != Thread.CurrentThread.ManagedThreadId;
+ private bool RequiresMarshalling => ResumingOnThread is null || ResumingOnThread.Value != Thread.CurrentThread.ManagedThreadId;
67
68
/// <summary>
69
/// Resume any tasks that are at the point of invocation are currently awaiting `Yield()`, and <br />
0 commit comments