Skip to content

Commit

Permalink
Merge pull request #193 from Numpsy/args
Browse files Browse the repository at this point in the history
Correct the parameters to ArgumentException in StreamDecorator.Seek
  • Loading branch information
ironfede authored Oct 14, 2024
2 parents 4f5674f + 9bfd8b4 commit 78bdf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/OpenMcdf.Extensions/StreamDecorator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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)
Expand Down

0 comments on commit 78bdf5a

Please sign in to comment.