Skip to content

MockFileInfo.OpenWrite returns stream with read access. #230

@AngusMcIntyre

Description

@AngusMcIntyre

This is not the behaviour I receive when opening a filestream. My unit test passed but the code failed at runtime. I expected OpenWrite() to return a stream with no read access, and to throw the appropriate exception when a read is attempted.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIssues that describe misbehaving functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions