diff --git a/src/System/IO/SystemFile.cs b/src/System/IO/SystemFile.cs index 714e9fd..124bbf7 100644 --- a/src/System/IO/SystemFile.cs +++ b/src/System/IO/SystemFile.cs @@ -68,7 +68,7 @@ public SystemFile(FileInfo info) /// public Task OpenStreamAsync(FileAccess accessMode = FileAccess.Read, CancellationToken cancellationToken = default) { - var stream = File.Open(Path, FileMode.Open, accessMode); + var stream = new FileStream(Path, FileMode.Open, accessMode, FileShare.None, 4096, FileOptions.Asynchronous); cancellationToken.ThrowIfCancellationRequested(); return Task.FromResult(stream);