From 9021479af4a9ec6a78be0ac99075050493e21abe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 4 Jan 2026 03:31:50 +0000 Subject: [PATCH 1/2] Initial plan From fed07f3446bfb6364b823df3b6d94b394278fcb9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 4 Jan 2026 03:35:56 +0000 Subject: [PATCH 2/2] Add using statement and simplify CallerMemberName attributes --- .husky/pre-commit | 0 Utilities/Extensions.cs | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/Utilities/Extensions.cs b/Utilities/Extensions.cs index 0f1b17e..4364123 100644 --- a/Utilities/Extensions.cs +++ b/Utilities/Extensions.cs @@ -1,5 +1,6 @@ using System; using System.IO.Compression; +using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Serilog; @@ -70,7 +71,7 @@ public Task DecompressAsync(CancellationToken cancellationToken = defaul /// Always returns false to allow exception to propagate. public bool LogAndPropagate( Exception exception, - [System.Runtime.CompilerServices.CallerMemberName] string function = "unknown" + [CallerMemberName] string function = "unknown" ) { logger.Error(exception, "{Function}", function); @@ -85,7 +86,7 @@ public bool LogAndPropagate( /// Always returns true to indicate exception was handled. public bool LogAndHandle( Exception exception, - [System.Runtime.CompilerServices.CallerMemberName] string function = "unknown" + [CallerMemberName] string function = "unknown" ) { logger.Error(exception, "{Function}", function);