diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-01-20 05:54:55 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-20 05:54:55 +0300 |
commit | dbf52630bae18e0ef551cd08aa734996b085b724 (patch) | |
tree | e9bf2035da786fe9c9eefd6f982d1ca1b822f04f | |
parent | 571762f782c6af4e4468ab0fa534491182601eed (diff) |
Fix Unix build break
-rw-r--r-- | src/System.Private.CoreLib/src/System/RuntimeExceptionHelpers.cs | 2 |
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()) |