diff --git a/CodeJam.Main/Threading/TaskHelper.ForEachAsync.cs b/CodeJam.Main/Threading/TaskHelper.ForEachAsync.cs
index 2094922ba..ec715a2cb 100644
--- a/CodeJam.Main/Threading/TaskHelper.ForEachAsync.cs
+++ b/CodeJam.Main/Threading/TaskHelper.ForEachAsync.cs
@@ -41,12 +41,20 @@ private static int ProcessorCount
}
}
+#if NETSTANDARD20_OR_GREATER || NET45_OR_GREATER || TARGETS_NETCOREAPP
///
/// Gets the maximum degree of parallelism for the scheduler.
/// Matches to the behavior.
/// Limits by value (if non-zero positiver value).
/// Otherwise, uses as fallback value.
///
+#else
+ ///
+ /// Gets the maximum degree of parallelism for the scheduler.
+ /// Limits by value (if non-zero positiver value).
+ /// Otherwise, uses as fallback value.
+ ///
+#endif
public static int GetMaxDegreeOfParallelism([NotNull] this TaskScheduler scheduler, int value)
{
Code.NotNull(scheduler, nameof(scheduler));