Browse Source

Fixed nullable warnings 6

Tig 1 year ago
parent
commit
ff47aa29b9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      UnitTests/Views/ToplevelTests.cs

+ 3 - 3
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);