More nullability fixes

This commit is contained in:
Matt Nadareski
2023-09-18 14:58:33 -04:00
parent 715f773672
commit 0c5dff71e9
58 changed files with 302 additions and 26 deletions

View File

@@ -20,7 +20,11 @@ namespace BinaryObjectScanner.Protection
public class SafeLock : IPathCheck
{
/// <inheritdoc/>
#if NET48
public ConcurrentQueue<string> CheckDirectoryPath(string path, IEnumerable<string> files)
#else
public ConcurrentQueue<string> CheckDirectoryPath(string path, IEnumerable<string>? files)
#endif
{
// Technically all need to exist but some might be renamed
var matchers = new List<PathMatchSet>