From 06c728426964edd07b54d8274409db320478f11a Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 4 Jan 2023 17:17:26 -0700 Subject: [PATCH] Changed ISimpleMemoryMethods.Allocs to public --- Core/InteropServices/SafeMemoryHandle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/InteropServices/SafeMemoryHandle.cs b/Core/InteropServices/SafeMemoryHandle.cs index d5791ead..73bf1b27 100644 --- a/Core/InteropServices/SafeMemoryHandle.cs +++ b/Core/InteropServices/SafeMemoryHandle.cs @@ -179,7 +179,7 @@ namespace Vanara.InteropServices /// Gets a value indicating whether zeroes memory before returning. /// if zeroes memory before returning; otherwise, . - bool AllocZeroes => false; + bool AllocZeroes { get; } } /// Implementation of using just the methods from . @@ -188,7 +188,7 @@ namespace Vanara.InteropServices { /// Gets a value indicating whether zeroes memory before returning. /// if zeroes memory before returning; otherwise, . - protected virtual bool AllocZeroes => false; + public virtual bool AllocZeroes => false; /// Gets a value indicating whether this memory supports locking. /// if lockable; otherwise, .