linux-packaging-mono/mcs/class/corlib/corert/ThreadPoolBoundHandle.cs
Xamarin Public Jenkins (auto-signing) 966bba02bb Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
2017-06-07 13:16:24 +00:00

65 lines
1.6 KiB
C#

#if !MULTIPLEX_OS
namespace System.Threading
{
public sealed class ThreadPoolBoundHandle : IDisposable
{
internal ThreadPoolBoundHandle ()
{
}
public System.Runtime.InteropServices.SafeHandle Handle {
get {
throw new PlatformNotSupportedException ();
}
}
[System.CLSCompliantAttribute (false)]
public unsafe System.Threading.NativeOverlapped* AllocateNativeOverlapped (System.Threading.IOCompletionCallback callback, object state, object pinData)
{
throw new PlatformNotSupportedException ();
}
[System.CLSCompliantAttribute (false)]
public unsafe System.Threading.NativeOverlapped* AllocateNativeOverlapped (System.Threading.PreAllocatedOverlapped preAllocated)
{
throw new PlatformNotSupportedException ();
}
public static System.Threading.ThreadPoolBoundHandle BindHandle (System.Runtime.InteropServices.SafeHandle handle)
{
throw new PlatformNotSupportedException ();
}
public void Dispose ()
{
}
[System.CLSCompliantAttribute (false)]
public unsafe void FreeNativeOverlapped (System.Threading.NativeOverlapped* overlapped)
{
throw new PlatformNotSupportedException ();
}
[System.CLSCompliantAttribute (false)]
public static unsafe object GetNativeOverlappedState (System.Threading.NativeOverlapped* overlapped)
{
throw new PlatformNotSupportedException ();
}
}
public sealed partial class PreAllocatedOverlapped : IDisposable
{
[System.CLSCompliantAttribute (false)]
public PreAllocatedOverlapped (System.Threading.IOCompletionCallback callback, object state, object pinData)
{
throw new PlatformNotSupportedException ();
}
public void Dispose ()
{
}
}
}
#endif