Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1340

BinaryStream Position does not throw IOException on a closed stream

Status
Fixed
Fixed in
v26.9.1
Area
-
Source discussion
https://forum.objo.dev/d/987-filesystemitem-exception
Last updated
2026-09-08

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

After closing a BinaryStream, reading the Position property returns a stale value without any error, while reading EndOfFile (or Length) throws an IOException. Behaviour across a closed stream's properties is inconsistent.

Position and its setter now behave like every other closed-stream member: reading or assigning Position after Close() raises an IOException. On an open stream, assigning Position seeks immediately instead of being deferred to the next read or write.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.