Просмотр исходного кода

Enable nullability analysis here

Going down the rabbit hole
Brandon Thetford 1 год назад
Родитель
Сommit
57a21427b0
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 2 - 0
Terminal.Gui/View/Layout/ViewLayout.cs

@@ -542,6 +542,7 @@ public partial class View
         }
     }
 
+    #nullable enable
     /// <summary>Finds which view that belong to the <paramref name="start"/> superview at the provided location.</summary>
     /// <param name="start">The superview where to look for.</param>
     /// <param name="x">The column location in the superview.</param>
@@ -597,6 +598,7 @@ public partial class View
 
         return start;
     }
+    #nullable restore
 
     /// <summary>Gets the <see cref="Frame"/> with a screen-relative location.</summary>
     /// <returns>The location and size of the view in screen-relative coordinates.</returns>