Skip to content

Commit

Permalink
Fix ArgumentException parameter order in StreamView.Seek
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Oct 20, 2024
1 parent c8f3546 commit be587b2
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 be587b2

Please sign in to comment.