Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2019-02-06 03:38:36 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-02-06 03:38:36 +0300
commitb340793442f8fcae92faa99bf21ecc5589f220e0 (patch)
tree53b314199dc75242e673da09814b0f006fc2ddc0 /src/System.Threading.ThreadPool
parent3a7b5dd85de7686b410d78e6cb3ff893f51b0d2b (diff)
ManualResetValueTaskSourceCore.cs workaround for MCS. (#249)
Diffstat (limited to 'src/System.Threading.ThreadPool')
-rw-r--r--src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs b/src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs
index 2ddd1f422b..d5be1f8e51 100644
--- a/src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs
+++ b/src/System.Threading.ThreadPool/tests/ThreadPoolTests.netcoreapp.cs
@@ -115,6 +115,7 @@ namespace System.Threading.ThreadPools.Tests
Assert.Equal(useUnsafe ? 0 : 42, await tcs.Task);
}
+#if !MONO
[Theory]
[MemberData(nameof(OneBool))]
public void UnsafeQueueUserWorkItem_IThreadPoolWorkItem_Invalid_Throws(bool preferLocal)
@@ -188,5 +189,6 @@ namespace System.Threading.ThreadPools.Tests
public InvalidWorkItemAndTask(Action action) : base(action) { }
public void Execute() { }
}
+#endif
}
}