LazyLoadingReadOnlyStream.Position setter not implemented while Seek is #16055
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
I often use the
Stream.Position
property to set position on seekable streams. With the recent changes to enable seekability (#15032), we can now callStream.Seek(..., SeekOrigin)
, but.Position
fails.Expected behavior
I would expect calls to
.Position = x
to work similarly to.Seek(x, SeekOrigin.Begin)
as they do on other streams.Actual behavior (include Exception or Stack Trace)
Throws
NotSupportedException
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Environment:
dotnet --info
output for .NET Core projects): .NET Framework 4.8The text was updated successfully, but these errors were encountered: