Skip to content

Commit 269854a

Browse files
authored
Make FileSystemStream properties virtual: (#1099)
- IsAsync - Name
1 parent 5ab2fed commit 269854a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TestableIO.System.IO.Abstractions/FileSystemStream.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ public override bool CanWrite
2727
=> _stream.CanWrite;
2828

2929
/// <inheritdoc cref="FileStream.IsAsync" />
30-
public bool IsAsync { get; }
30+
public virtual bool IsAsync { get; }
3131

3232
/// <inheritdoc cref="Stream.Length" />
3333
public override long Length
3434
=> _stream.Length;
3535

3636
/// <inheritdoc cref="FileStream.Name" />
37-
public string Name { get; }
37+
public virtual string Name { get; }
3838

3939
/// <inheritdoc cref="Stream.Position" />
4040
public override long Position

0 commit comments

Comments
 (0)