Skip to content

Commit 78bdf5a

Browse files
authored
Merge pull request #193 from Numpsy/args
Correct the parameters to ArgumentException in StreamDecorator.Seek
2 parents 4f5674f + 9bfd8b4 commit 78bdf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/OpenMcdf.Extensions/StreamDecorator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public override long Seek(long offset, SeekOrigin origin)
9494
break;
9595

9696
default:
97-
throw new ArgumentException(nameof(origin), "Invalid seek origin");
97+
throw new ArgumentException("Invalid seek origin", nameof(origin));
9898
}
9999

100100
if (position > Length)

0 commit comments

Comments
 (0)