aboutsummaryrefslogtreecommitdiff
path: root/lib/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils')
-rw-r--r--lib/Utils/src/Memory/MemoryUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/src/Memory/MemoryUtil.cs b/lib/Utils/src/Memory/MemoryUtil.cs
index dc69e76..6af2392 100644
--- a/lib/Utils/src/Memory/MemoryUtil.cs
+++ b/lib/Utils/src/Memory/MemoryUtil.cs
@@ -660,7 +660,7 @@ namespace VNLib.Utils.Memory
{
if (offset + count > (ulong)block.LongLength)
{
- throw new ArgumentOutOfRangeException("The offset or count is outside of the range of the block of memory");
+ throw new ArgumentOutOfRangeException(nameof(offset), "The offset or count is outside of the range of the block of memory");
}
}