diff --git a/BinaryObjectScanner/Interfaces/IPathCheck.cs b/BinaryObjectScanner/Interfaces/IPathCheck.cs
index dbda4de7..4d081966 100644
--- a/BinaryObjectScanner/Interfaces/IPathCheck.cs
+++ b/BinaryObjectScanner/Interfaces/IPathCheck.cs
@@ -20,7 +20,7 @@ namespace BinaryObjectScanner.Interfaces
/// Enumerable of strings representing files in a directory
/// This can do some limited content checking as well, but it's suggested to use a content check instead, if possible
#if NET20 || NET35
- List CheckDirectoryPath(string path, IEnumerable? files);
+ Queue CheckDirectoryPath(string path, IEnumerable? files);
#else
ConcurrentQueue CheckDirectoryPath(string path, IEnumerable? files);
#endif