Adding missing members of threading.overlapped
authorRama Krishnan Raghupathy <ramarag@microsoft.com>
Wed, 26 Oct 2016 03:25:03 +0000 (20:25 -0700)
committerRama Krishnan Raghupathy <ramarag@microsoft.com>
Wed, 26 Oct 2016 03:25:03 +0000 (20:25 -0700)
src/mscorlib/model.xml
src/mscorlib/src/System/Threading/ThreadPool.cs

index c29ed93..63d048b 100644 (file)
       <Member Name="QueueUserWorkItem(System.Threading.WaitCallback)" />
       <Member Name="QueueUserWorkItem(System.Threading.WaitCallback,System.Object)" />
       <Member Name="SetMaxThreads(System.Int32,System.Int32)" />
+      <Member Name="BindHandle(System.IntPtr)" />
       <Member Name="BindHandle(System.Runtime.InteropServices.SafeHandle)" />
       <Member Name="RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)" />
       <Member Name="RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)" />
       <Member Name="#ctor(System.Int32,System.Int32,System.IntPtr,System.IAsyncResult)" />
       <Member MemberType="Property" Name="AsyncResult" />
       <Member MemberType="Property" Name="EventHandle" />
+      <Member MemberType="Property" Name="EventHandleIntPtr" />
       <Member MemberType="Property" Name="OffsetLow" />
       <Member MemberType="Property" Name="OffsetHigh" />
       <Member Name="Free(System.Threading.NativeOverlapped*)" />
+      <Member Name="Pack(System.Threading.IOCompletionCallback)" />
       <Member Name="Pack(System.Threading.IOCompletionCallback,System.Object)" />
       <Member Name="Unpack(System.Threading.NativeOverlapped*)" />
+      <Member Name="UnsafePack(System.Threading.IOCompletionCallback)" />
       <Member Name="UnsafePack(System.Threading.IOCompletionCallback,System.Object)" Condition="FEATURE_COMINTEROP" />
     </Type>
     <Type Name="System.Threading.IOCompletionCallback">
index 13fb144..8262757 100644 (file)
@@ -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