From ff47aa29b9fe29e28c7bd52ed1aa718f0f87aa6a Mon Sep 17 00:00:00 2001 From: Tig Date: Wed, 24 Jul 2024 14:39:34 -0600 Subject: [PATCH] Fixed nullable warnings 6 --- UnitTests/Views/ToplevelTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnitTests/Views/ToplevelTests.cs b/UnitTests/Views/ToplevelTests.cs index 624da69ac..8688c5d4a 100644 --- a/UnitTests/Views/ToplevelTests.cs +++ b/UnitTests/Views/ToplevelTests.cs @@ -1049,12 +1049,12 @@ public partial class ToplevelTests (ITestOutputHelper output) Assert.False (subTop.IsLoaded); Assert.Equal (new (0, 0, 20, 10), view.Frame); - view.LayoutStarted += view_LayoutStarted; + view.LayoutStarted += ViewLayoutStarted; - void view_LayoutStarted (object sender, LayoutEventArgs e) + void ViewLayoutStarted (object sender, LayoutEventArgs e) { Assert.Equal (new (0, 0, 20, 10), view._needsDisplayRect); - view.LayoutStarted -= view_LayoutStarted; + view.LayoutStarted -= ViewLayoutStarted; } Application.Begin (top);