Skip to content

Commit

Permalink
Correct the parameters to ArgumentException in StreamDecorator.Seek
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Oct 13, 2024
1 parent baadaba commit 9bfd8b4
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 9bfd8b4

Please sign in to comment.