From 04bac15be1edbcfa5d264d727bdda5574dcc3cd4 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Tue, 12 May 2026 20:40:50 +1000 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs b/src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs index b2e34f3dd3..764bb37e82 100644 --- a/src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs +++ b/src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs @@ -54,7 +54,7 @@ public abstract class AllocationTrackedMemoryManager : MemoryManager /// calls this exactly once after AllocateCore returns. /// Derived allocators should not call it themselves; they only construct the concrete owner. /// - internal virtual void AttachAllocationTracking(MemoryAllocator allocator, long lengthInBytes) + protected internal virtual void AttachAllocationTracking(MemoryAllocator allocator, long lengthInBytes) => this.allocationTracking.Attach(allocator, lengthInBytes); ///