Skip to content

Commit

Permalink
Merge pull request #201 from Numpsy/args_again
Browse files Browse the repository at this point in the history
Fix ArgumentException parameter order in StreamView.Seek
  • Loading branch information
ironfede authored Oct 20, 2024
2 parents c8f3546 + be587b2 commit 7496d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/OpenMcdf/StreamView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7496d77

Please sign in to comment.