summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2019-01-17 17:42:44 +0100
committerJan Kotas <jkotas@microsoft.com>2019-01-17 08:42:44 -0800
commit90d9accce812d953f915910bb2d453fc829e61f7 (patch)
tree047b00654d5101c238cc470cda0929751db7e61b
parent0f9253f952b9af4d274b7b69381e64ad77e5b3dc (diff)
downloadcoreclr-90d9accce812d953f915910bb2d453fc829e61f7.tar.gz
coreclr-90d9accce812d953f915910bb2d453fc829e61f7.tar.bz2
coreclr-90d9accce812d953f915910bb2d453fc829e61f7.zip
Fix AsyncMethodBuilder build on Mono (#22034)
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
index aa9d521840..b44df7a0cd 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
@@ -24,7 +24,7 @@ using Internal.Runtime.CompilerServices;
using Internal.Runtime.Augments;
using Internal.Threading.Tasks;
-#if !CORECLR
+#if CORERT
using Thread = Internal.Runtime.Augments.RuntimeThread;
#endif