diff --git a/OpenMcdf/FatStream.cs b/OpenMcdf/FatStream.cs index 81c6de1..6254c0b 100644 --- a/OpenMcdf/FatStream.cs +++ b/OpenMcdf/FatStream.cs @@ -139,7 +139,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)); } return position; diff --git a/OpenMcdf/MiniFatStream.cs b/OpenMcdf/MiniFatStream.cs index ba40a29..21a86ea 100644 --- a/OpenMcdf/MiniFatStream.cs +++ b/OpenMcdf/MiniFatStream.cs @@ -129,7 +129,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)); } return position;