From: Rama Krishnan Raghupathy Date: Wed, 26 Oct 2016 03:25:03 +0000 (-0700) Subject: Adding missing members of threading.overlapped X-Git-Tag: accepted/tizen/base/20180629.140029~3243^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec6103ab15fd9e4eaca5d0156f6cbba75efaa9ab;p=platform%2Fupstream%2Fcoreclr.git Adding missing members of threading.overlapped --- diff --git a/src/mscorlib/model.xml b/src/mscorlib/model.xml index c29ed93..63d048b 100644 --- a/src/mscorlib/model.xml +++ b/src/mscorlib/model.xml @@ -8087,6 +8087,7 @@ + @@ -8131,11 +8132,14 @@ + + + diff --git a/src/mscorlib/src/System/Threading/ThreadPool.cs b/src/mscorlib/src/System/Threading/ThreadPool.cs index 13fb144..8262757 100644 --- a/src/mscorlib/src/System/Threading/ThreadPool.cs +++ b/src/mscorlib/src/System/Threading/ThreadPool.cs @@ -1904,17 +1904,18 @@ namespace System.Threading bool compressStack ); -#if !FEATURE_CORECLR + [System.Security.SecuritySafeCritical] // auto-generated [Obsolete("ThreadPool.BindHandle(IntPtr) has been deprecated. Please use ThreadPool.BindHandle(SafeHandle) instead.", false)] +#pragma warning disable 618 [SecurityPermissionAttribute( SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] +#pragma warning restore 618 public static bool BindHandle( IntPtr osHandle ) { return BindIOCompletionCallbackNative(osHandle); } -#endif #if FEATURE_CORECLR [System.Security.SecurityCritical] // auto-generated