Skip to content

Commit 99db22e

Browse files
committed
Simplify lambda parameter types
1 parent b0ea3cd commit 99db22e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ramstack.FileSystem.Physical/PhysicalDirectory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ protected override IAsyncEnumerable<VirtualFile> GetFilesCoreAsync(CancellationT
110110
{
111111
nodes = new FileSystemEnumerable<VirtualFile>(_physicalPath, FindTransform, s_defaultOptions)
112112
{
113-
ShouldIncludePredicate = (ref FileSystemEntry entry) => !entry.IsDirectory
113+
ShouldIncludePredicate = (ref entry) => !entry.IsDirectory
114114
};
115115
}
116116

@@ -136,7 +136,7 @@ protected override IAsyncEnumerable<VirtualDirectory> GetDirectoriesCoreAsync(Ca
136136
{
137137
nodes = new FileSystemEnumerable<VirtualDirectory>(_physicalPath, FindTransform, s_defaultOptions)
138138
{
139-
ShouldIncludePredicate = (ref FileSystemEntry entry) => entry.IsDirectory
139+
ShouldIncludePredicate = (ref entry) => entry.IsDirectory
140140
};
141141
}
142142

0 commit comments

Comments
 (0)