diff options
author | jaykrell <jay.krell@cornell.edu> | 2018-01-08 11:48:22 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-01-08 11:48:22 +0300 |
commit | a4ac0aa8a5b32fd3ae1d492c430229ba9de0ae46 (patch) | |
tree | 0ab4b1dc84d36bef2e91fde53b50b65f8d944645 /mcs/class/referencesource | |
parent | 0fb4f03a1bbf4f253e3f7bba0e9dee987386bda0 (diff) |
if MONO missing in Fix some ThreadPool performance counters. (#6118) (#6434)
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r-- | mcs/class/referencesource/mscorlib/system/threading/threadpool.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs b/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs index f6561124ce3..2db695c93eb 100644 --- a/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs +++ b/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs @@ -1899,10 +1899,12 @@ namespace System.Threading [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void NotifyWorkItemProgressNative(); +#if MONO [System.Security.SecurityCritical] [ResourceExposure(ResourceScope.None)] [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void NotifyWorkItemQueued(); +#endif [System.Security.SecurityCritical] // auto-generated [ResourceExposure(ResourceScope.None)] |