From 274536041ffbbe8e823307bb94f9dcb824989514 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Sat, 17 May 2025 15:24:07 +0800 Subject: [PATCH] Update MemoryAllocator.cs --- src/Internal/MemoryAllocator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Internal/MemoryAllocator.cs b/src/Internal/MemoryAllocator.cs index 369738d..86509cf 100644 --- a/src/Internal/MemoryAllocator.cs +++ b/src/Internal/MemoryAllocator.cs @@ -234,6 +234,7 @@ namespace DCFApixels.DragonECS.Core.Internal #region Debugger #if DEBUG +#pragma warning disable IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling. internal unsafe string DebuggerDisplay() { if(Data == null) @@ -315,6 +316,7 @@ namespace DCFApixels.DragonECS.Core.Internal OtherHandlersInfo = _debugInfos; } } +#pragma warning restore IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling. #endif #endregion }