|
@@ -10,13 +10,18 @@
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
|
|
|
<DefineConstants>$(DefineConstants);NO_ARRAY_EMPTY;NO_TASK_FROMEXCEPTION</DefineConstants>
|
|
|
</PropertyGroup>
|
|
|
-
|
|
|
- <PropertyGroup>
|
|
|
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
|
<!--
|
|
|
- TODO: Enable USE_ASYNC_ITERATOR. Current errors due to missing members in target frameworks:
|
|
|
+ NB: USE_ASYNC_ITERATOR relies on members in the framework only present in .NET Core 3.0 Preview 2 at the moment:
|
|
|
error CS0518: Predefined type 'System.Runtime.CompilerServices.AsyncIteratorMethodBuilder' is not defined or imported
|
|
|
error CS0656: Missing compiler required member 'System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.*
|
|
|
+
|
|
|
+ NB: AWAIT_USING_REQUIRES_IASYNCDISPOSABLE - See comments in AsyncEnumerableExtensions.cs.
|
|
|
-->
|
|
|
+ <DefineConstants>$(DefineConstants);USE_ASYNC_ITERATOR;HAS_ASYNCENUMERABLE;HAS_ASYNCDISPOSABLE;BCL_HAS_CONFIGUREAWAIT;AWAIT_USING_REQUIRES_IASYNCDISPOSABLE</DefineConstants>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup>
|
|
|
<DefineConstants>$(DefineConstants);USE_AWAIT_FOREACH;USE_AWAIT_USING</DefineConstants>
|
|
|
</PropertyGroup>
|
|
|
|