Skip to content

Commit 068efe0

Browse files
committed
formatting tweaks
1 parent 0eac88e commit 068efe0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

RECmd/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public string Format(string format, object arg, IFormatProvider formatProvider)
311311
}
312312
}
313313

314-
#if NET6_0 || NET9_0
314+
#if NET6_0_OR_GREATER
315315

316316
static IEnumerable<string> FindFiles(string directory, IEnumerable<string> masks, HashSet<string> ignoreMasks, EnumerationOptions options,long minimumSize = 0)
317317
{
@@ -698,7 +698,7 @@ private static void DoWork(string d, string f, string kn, string vn, string bn,
698698

699699
Log.Information("Searching '{Vss} for hives...",$"VSS{target.Replace($"{VssDir}\\", "")}");
700700

701-
#if NET6_0 || NET9_0
701+
#if NET6_0_OR_GREATER
702702

703703
files2 = FindFiles(target, mask, ignoreExt, enumerationOptions, 4);
704704

rla/Program.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private static async Task Main(string[] args)
100100
Log.CloseAndFlush();
101101
}
102102

103-
#if NET6_0 || NET9_0
103+
#if NET6_0_OR_GREATER
104104
static IEnumerable<string> FindFiles(string directory, IEnumerable<string> masks, HashSet<string> ignoreMasks, EnumerationOptions options,long minimumSize = 0)
105105
{
106106
foreach (var file in masks.AsParallel().SelectMany(searchPattern => Directory.EnumerateFiles(directory, searchPattern, options)))
@@ -333,7 +333,7 @@ private static void DoWork(string f, string d, string @out, bool ca, bool cn, bo
333333
files =
334334
Directory.EnumerateFileSystemEntries(d, dirEnumOptions, directoryEnumerationFilters);
335335

336-
#elif NET6_0 || NET9_0
336+
#elif NET6_0_OR_GREATER
337337
var enumerationOptions = new EnumerationOptions
338338
{
339339
IgnoreInaccessible = true,
@@ -484,7 +484,7 @@ private static void DoWork(string f, string d, string @out, bool ca, bool cn, bo
484484

485485
#if NET462
486486
var logFiles = Directory.GetFiles(dirname, $"{hiveBase}.LOG?");
487-
#elif NET6_0 || NET9_0
487+
#elif NET6_0_OR_GREATER
488488
var en = new EnumerationOptions
489489
{
490490
// IgnoreInaccessible = true,

0 commit comments

Comments
 (0)