Move IOCompletionCallback to shared partition (dotnet/corertdotnet/coreclr#6875)
authorMarek Safar <marek.safar@gmail.com>
Thu, 24 Jan 2019 06:18:48 +0000 (07:18 +0100)
committerJan Kotas <jkotas@microsoft.com>
Thu, 24 Jan 2019 12:57:38 +0000 (04:57 -0800)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/43d9e12a34399e917606f86f625ec076fa851c84

src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/Threading/IOCompletionCallback.cs [new file with mode: 0644]

index faa5946..6c5da60 100644 (file)
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\EventResetMode.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\EventWaitHandle.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\ExecutionContext.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Threading\IOCompletionCallback.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\IThreadPoolWorkItem.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LazyInitializer.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LazyThreadSafetyMode.cs" />
diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/IOCompletionCallback.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/IOCompletionCallback.cs
new file mode 100644 (file)
index 0000000..571ce46
--- /dev/null
@@ -0,0 +1,9 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System.Threading
+{
+    [CLSCompliant(false)]
+    public unsafe delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped* pOVERLAP);
+}