Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public void MockFileSystem_GetFiles_ThrowsArgumentExceptionForInvalidCharacters(
const string path = @"c:\";
var fileSystem = new MockFileSystem();
fileSystem.AddDirectory(XFS.Path(path));

// Act
TestDelegate getFilesWithInvalidCharacterInPath = () => fileSystem.Directory.GetFiles($"{path}{'\0'}.txt");

Expand Down
2 changes: 1 addition & 1 deletion System.IO.Abstractions/FileSystemWatcherBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.IO.Abstractions
{
/// <inheritdoc cref="FileSystemWatcher"/>
[Serializable]
public abstract class FileSystemWatcherBase : IDisposable, IFileSystemWatcher
public abstract class FileSystemWatcherBase : IFileSystemWatcher
{
/// <inheritdoc cref="FileSystemWatcher.IncludeSubdirectories"/>
public abstract bool IncludeSubdirectories { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion System.IO.Abstractions/IFileSystemWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace System.IO.Abstractions
{
public interface IFileSystemWatcher
public interface IFileSystemWatcher : IDisposable
{
/// <inheritdoc cref="FileSystemWatcher.IncludeSubdirectories"/>
bool IncludeSubdirectories { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "4.2",
"version": "5.0",
"assemblyVersion": {
"precision": "major"
},
Expand All @@ -12,4 +12,4 @@
"enabled": true
}
}
}
}