Skip to content

Commit

Permalink
Use new langauge features
Browse files Browse the repository at this point in the history
  • Loading branch information
sjp committed Nov 18, 2023
1 parent 5cd7108 commit 83c36b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ChannelFileSystemWatcherOptions(string path)
/// <summary>
/// Gets the collection of all the filters used to determine what files are monitored in a directory.
/// </summary>
public Collection<string> Filters { get; init; } = new Collection<string>();
public Collection<string> Filters { get; init; } = [];

/// <summary>
/// Gets or sets a value indicating whether subdirectories within the specified path should be monitored.
Expand Down

0 comments on commit 83c36b3

Please sign in to comment.