Skip to content

Commit 065bee7

Browse files
author
Marco Meyer
committed
Use correct lock object for AllFiles
1 parent 1a0b04c commit 065bee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestingHelpers/MockFileSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public IEnumerable<string> AllFiles
256256
{
257257
get
258258
{
259-
lock (file)
259+
lock (files)
260260
return files.Where(f => !f.Value.IsDirectory).Select(f => f.Key).ToArray();
261261
}
262262
}

0 commit comments

Comments
 (0)