From 998e49f75b58d98fa463113d4ba705c39650df91 Mon Sep 17 00:00:00 2001 From: Jumar Macato <16554748+jmacato@users.noreply.github.com> Date: Fri, 12 Nov 2021 17:22:02 +0800 Subject: [PATCH] add nullable to type instead of assigning null to make rider happy :) --- src/Avalonia.X11/X11PlatformLifetimeEvents.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.X11/X11PlatformLifetimeEvents.cs b/src/Avalonia.X11/X11PlatformLifetimeEvents.cs index 4e20f68451..a8beb8bbd6 100644 --- a/src/Avalonia.X11/X11PlatformLifetimeEvents.cs +++ b/src/Avalonia.X11/X11PlatformLifetimeEvents.cs @@ -241,6 +241,6 @@ namespace Avalonia.X11 IntPtr.Zero); } - public event EventHandler ShutdownRequested = null!; + public event EventHandler? ShutdownRequested; } }