Rename IApplication.Current to TopRunnable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-20 19:34:48 +00:00
parent 16b42e86fd
commit 4b975fd5b7
90 changed files with 916 additions and 820 deletions

View File

@@ -39,7 +39,7 @@ public class SyncrhonizationContextTests
Task.Run (() =>
{
while (Application.Current is null || Application.Current is { Running: false })
while (Application.TopRunnable is null || Application.TopRunnable is { Running: false })
{
Thread.Sleep (500);
}
@@ -56,7 +56,7 @@ public class SyncrhonizationContextTests
null
);
if (Application.Current is { Running: true })
if (Application.TopRunnable is { Running: true })
{
Assert.False (success);
}