Skip to content

Commit 4826945

Browse files
committed
Make RestartForInternalBufferSize static on Linux as required by CA1822.
1 parent e265ce9 commit 4826945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private void FinalizeDispose()
9797

9898
private INotify.Watcher? _watcher;
9999

100-
private void RestartForInternalBufferSize()
100+
private static void RestartForInternalBufferSize()
101101
{
102102
// The implementation is not using InternalBufferSize. There's no need to restart.
103103
}

0 commit comments

Comments
 (0)