From be587b25b9610766a5d9637a71a95cf24406a97d Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 20 Oct 2024 13:15:22 +0100 Subject: [PATCH] Fix ArgumentException parameter order in StreamView.Seek --- sources/OpenMcdf/StreamView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/OpenMcdf/StreamView.cs b/sources/OpenMcdf/StreamView.cs index 8a303c8f..32468070 100644 --- a/sources/OpenMcdf/StreamView.cs +++ b/sources/OpenMcdf/StreamView.cs @@ -177,7 +177,7 @@ public override long Seek(long offset, SeekOrigin origin) break; default: - throw new ArgumentException(nameof(origin), "Invalid seek origin"); + throw new ArgumentException("Invalid seek origin", nameof(origin)); } if (position > length)