manuelroemer/Files

InMemoryFileSystem doesn't support FileShare.Delete

manuelroemer opened this issue · 1 comments

Bug Report

Environment / Version Details

Operating System (OS):

  • Windows
    • Win32
    • UWP
  • Linux
  • macOS

.NET Runtime:

  • .NET Framework
  • .NET Core
  • .NET
  • Other (Please specify the details in the description)

Files Version:

  • Newest Version
  • Older Version (Please specify the details in the description)

Description

This is a follow-up issue for #11 (see Discussion).

The InMemoryFileSystem doesn't support FileShare.Delete.

Expected behavior

The InMemoryFileSystem should support FileShare.Delete. Files should be deleteable when initially opened with this FileShare value.

Actual behavior

Currently deletion will simply fail because FileShare.Delete is not handled in any way.

Steps to Reproduce

None.

Discussion

None.

Closing for now. See this comment for the reasons.