From 9cea09caa2b24097c9680b424c43ce44e4116f07 Mon Sep 17 00:00:00 2001 From: Luis von der Eltz Date: Mon, 4 Jul 2022 14:58:25 +0200 Subject: [PATCH] Fix Intersect missing nullable return type --- src/Avalonia.Base/Platform/IGeometryImpl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Base/Platform/IGeometryImpl.cs b/src/Avalonia.Base/Platform/IGeometryImpl.cs index c80f8923ef..8760f9ed8a 100644 --- a/src/Avalonia.Base/Platform/IGeometryImpl.cs +++ b/src/Avalonia.Base/Platform/IGeometryImpl.cs @@ -39,7 +39,7 @@ namespace Avalonia.Platform /// /// The other geometry. /// A new representing the intersection. - IGeometryImpl Intersect(IGeometryImpl geometry); + IGeometryImpl? Intersect(IGeometryImpl geometry); /// /// Indicates whether the geometry's stroke contains the specified point.