diff --git a/Code/Profiling/MemoryAPI.cs b/Code/Profiling/MemoryAPI.cs index 4ae6192..9f93a59 100644 --- a/Code/Profiling/MemoryAPI.cs +++ b/Code/Profiling/MemoryAPI.cs @@ -188,7 +188,7 @@ private struct PROCESS_MEMORY_COUNTERS /// Contains information about the current state of both physical and virtual memory, including extended memory. /// [StructLayout(LayoutKind.Sequential)] - private struct MEMORYSTATUSEX + private readonly struct MEMORYSTATUSEX { /// /// Structure size, in bytes - MUST be assigned before use.