diff options
author | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2016-12-10 04:48:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-10 04:48:55 +0300 |
commit | 1abd60c9f57777e1fcb3b0727285d7478a1c7788 (patch) | |
tree | acce9365297fd2e96eb57ca2c22977d9844909d8 /src/System.Threading.ThreadPool | |
parent | 83be041f1e7870d47d7600a339a5da7716296b76 (diff) |
Strip out SecurityCritical attributes (#14383)
They don't have any function in Core.
Stripped via regex:
^.*\[(System\.Security\.)?Security(Safe)?Critical(Attribute)?\](\s*//.*|\s*)$[\r\n]*
Diffstat (limited to 'src/System.Threading.ThreadPool')
-rw-r--r-- | src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs b/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs index e74a38807e..9168be7195 100644 --- a/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs +++ b/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs @@ -17,7 +17,6 @@ namespace System.Threading { [System.ObsoleteAttribute("ThreadPool.BindHandle(IntPtr) has been deprecated. Please use ThreadPool.BindHandle(SafeHandle) instead.", false)] public static bool BindHandle(System.IntPtr osHandle) { throw null; } - [System.Security.SecurityCriticalAttribute] public static bool BindHandle(System.Runtime.InteropServices.SafeHandle osHandle) { throw null; } public static void GetAvailableThreads(out int workerThreads, out int completionPortThreads) { throw null; } public static void GetMaxThreads(out int workerThreads, out int completionPortThreads) { throw null; } |