Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// GC.GetAllocatedBytesForCurrentThread was added to .NET Framework in 4.8, so this
// suite compiles on net48+ / netcoreapp3.1+ / net5.0+ but not net462/net472. The
// allocation behaviour under test is TFM-agnostic, so the modern targets cover it.
#if !NET462 && !NET472
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
Expand Down Expand Up @@ -127,3 +131,4 @@ protected override IAsyncEnumerable<int> ExtractWorkerAsync(CancellationToken to
protected override Report CreateProgressReport() => new(CurrentItemCount);
}
}
#endif
Loading