From 83c36b31e2c06d95b86edac417015835e64419ba Mon Sep 17 00:00:00 2001 From: Simon Potter Date: Sat, 18 Nov 2023 13:29:44 +1300 Subject: [PATCH] Use new langauge features --- src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs b/src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs index a8e1c4b..9d94ded 100644 --- a/src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs +++ b/src/SJP.FsNotify/ChannelFileSystemWatcherOptions.cs @@ -36,7 +36,7 @@ public ChannelFileSystemWatcherOptions(string path) /// /// Gets the collection of all the filters used to determine what files are monitored in a directory. /// - public Collection Filters { get; init; } = new Collection(); + public Collection Filters { get; init; } = []; /// /// Gets or sets a value indicating whether subdirectories within the specified path should be monitored.