Skip to content

Commit 243f40c

Browse files
committed
Simplify expression in Debug.Assert
1 parent 99db22e commit 243f40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ramstack.FileSystem.Physical/PhysicalDirectory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected override IAsyncEnumerable<VirtualFile> GetFilesCoreAsync(CancellationT
118118

119119
VirtualFile FindTransform(ref FileSystemEntry entry)
120120
{
121-
Debug.Assert(entry.IsDirectory == false);
121+
Debug.Assert(!entry.IsDirectory);
122122

123123
var fullName = VirtualPath.Join(FullName, entry.FileName);
124124
var physicalPath = entry.ToFullPath();

0 commit comments

Comments
 (0)