Explorar o código

Enable nullability analysis here

Going down the rabbit hole
Brandon Thetford hai 1 ano
pai
achega
57a21427b0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>
     /// <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="start">The superview where to look for.</param>
     /// <param name="x">The column location in the superview.</param>
     /// <param name="x">The column location in the superview.</param>
@@ -597,6 +598,7 @@ public partial class View
 
 
         return start;
         return start;
     }
     }
+    #nullable restore
 
 
     /// <summary>Gets the <see cref="Frame"/> with a screen-relative location.</summary>
     /// <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>
     /// <returns>The location and size of the view in screen-relative coordinates.</returns>