From eb6983d995ae94469d4e0ec50e9cc1fba34731f3 Mon Sep 17 00:00:00 2001 From: nil4 Date: Tue, 3 Dec 2024 22:14:54 +0100 Subject: [PATCH] Add missing `using System` (#18) When global usings are disabled, `HotAvalonia.Extensions` fails to compile due to a missing `System` import. --- src/HotAvalonia.Extensions/AvaloniaHotReloadExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HotAvalonia.Extensions/AvaloniaHotReloadExtensions.cs b/src/HotAvalonia.Extensions/AvaloniaHotReloadExtensions.cs index c31d71a..9c5a49e 100644 --- a/src/HotAvalonia.Extensions/AvaloniaHotReloadExtensions.cs +++ b/src/HotAvalonia.Extensions/AvaloniaHotReloadExtensions.cs @@ -147,6 +147,7 @@ public static void DisableHotReload(this Application app) #else namespace HotAvalonia { + using global::System; using global::System.Diagnostics; using global::System.Diagnostics.CodeAnalysis; using global::System.Reflection;