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, .