Update MemoryAllocator.cs

This commit is contained in:
DCFApixels 2025-05-17 15:24:07 +08:00
parent cc644dbcf9
commit 274536041f

View File

@ -234,6 +234,7 @@ namespace DCFApixels.DragonECS.Core.Internal
#region Debugger #region Debugger
#if DEBUG #if DEBUG
#pragma warning disable IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
internal unsafe string DebuggerDisplay() internal unsafe string DebuggerDisplay()
{ {
if(Data == null) if(Data == null)
@ -315,6 +316,7 @@ namespace DCFApixels.DragonECS.Core.Internal
OtherHandlersInfo = _debugInfos; OtherHandlersInfo = _debugInfos;
} }
} }
#pragma warning restore IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
#endif #endif
#endregion #endregion
} }