Skip to content

Commit

Permalink
Make FileSystemStream properties virtual: (#1099)
Browse files Browse the repository at this point in the history
- IsAsync
- Name
  • Loading branch information
vbreuss authored Mar 15, 2024
1 parent 5ab2fed commit 269854a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestableIO.System.IO.Abstractions/FileSystemStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ public override bool CanWrite
=> _stream.CanWrite;

/// <inheritdoc cref="FileStream.IsAsync" />
public bool IsAsync { get; }
public virtual bool IsAsync { get; }

/// <inheritdoc cref="Stream.Length" />
public override long Length
=> _stream.Length;

/// <inheritdoc cref="FileStream.Name" />
public string Name { get; }
public virtual string Name { get; }

/// <inheritdoc cref="Stream.Position" />
public override long Position
Expand Down

0 comments on commit 269854a

Please sign in to comment.