/*
* This files defines the following types:
- * - NativeOverlapped
* - _IOCompletionCallback
* - OverlappedData
* - Overlapped
=============================================================================*/
-using System;
-using System.Runtime.InteropServices;
-using System.Runtime.CompilerServices;
-using System.Runtime.Versioning;
-using System.Security;
-using System.Runtime.ConstrainedExecution;
using System.Diagnostics;
-using System.Collections.Concurrent;
+using System.Runtime.CompilerServices;
namespace System.Threading
{
- #region struct NativeOverlapped
-
- // Valuetype that represents the (unmanaged) Win32 OVERLAPPED structure
- // the layout of this structure must be identical to OVERLAPPED.
- // The first five matches OVERLAPPED structure.
- // The remaining are reserved at the end
- [System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)]
- public struct NativeOverlapped
- {
- public IntPtr InternalLow;
- public IntPtr InternalHigh;
- public int OffsetLow;
- public int OffsetHigh;
- public IntPtr EventHandle;
- }
-
- #endregion struct NativeOverlapped
-
-
#region class _IOCompletionCallback
internal unsafe class _IOCompletionCallback
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\LockRecursionException.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ManualResetEvent.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\Mutex.cs" />
+ <Compile Include="$(MSBuildThisFileDirectory)System\Threading\NativeOverlapped.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ParameterizedThreadStart.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ReaderWriterLockSlim.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\SemaphoreFullException.cs" />
--- /dev/null
+// 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.
+
+using System.Runtime.InteropServices;
+
+namespace System.Threading
+{
+ [StructLayout(LayoutKind.Sequential)]
+ public struct NativeOverlapped
+ {
+ public IntPtr InternalLow;
+ public IntPtr InternalHigh;
+ public int OffsetLow;
+ public int OffsetHigh;
+ public IntPtr EventHandle;
+ }
+}