Skip to content
Permalink
Browse files

Adding missing members of threading.overlapped

  • Loading branch information
ramarag committed Oct 26, 2016
1 parent 203c9a6 commit ec6103ab15fd9e4eaca5d0156f6cbba75efaa9ab
Showing with 7 additions and 2 deletions.
  1. +4 −0 src/mscorlib/model.xml
  2. +3 −2 src/mscorlib/src/System/Threading/ThreadPool.cs
@@ -8087,6 +8087,7 @@
<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)" />
@@ -8131,11 +8132,14 @@
<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">
@@ -1904,17 +1904,18 @@ internal static void NotifyWorkItemProgress()
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

0 comments on commit ec6103a

Please sign in to comment.
You can’t perform that action at this time.