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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-01-20 05:54:55 +0300
committerJan Kotas <jkotas@microsoft.com>2017-01-20 05:54:55 +0300
commitdbf52630bae18e0ef551cd08aa734996b085b724 (patch)
treee9bf2035da786fe9c9eefd6f982d1ca1b822f04f
parent571762f782c6af4e4468ab0fa534491182601eed (diff)
Fix Unix build break
-rw-r--r--src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs b/src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs
index 1a47b20a7..ca62a64b6 100644
--- a/src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs
@@ -402,7 +402,7 @@ namespace System
LowLevelList<Exception> exceptions = new LowLevelList<Exception>(curThreadExceptions);
LowLevelList<Exception> nonThrownInnerExceptions = new LowLevelList<Exception>();
- uint currentThreadId = Interop.mincore.GetCurrentThreadId();
+ uint currentThreadId = (uint)Environment.CurrentNativeThreadId;
// Reset nesting levels for exceptions on this thread that might not be currently in flight
foreach (ExceptionData exceptionData in s_exceptionDataTable.GetValues())