You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
9
external/corefx/src/System.Threading.Overlapped/ref/Configurations.props
vendored
Normal file
9
external/corefx/src/System.Threading.Overlapped/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netcoreapp;
|
||||
uap;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
71
external/corefx/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs
vendored
Normal file
71
external/corefx/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
// 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.
|
||||
// ------------------------------------------------------------------------------
|
||||
// Changes to this file must follow the http://aka.ms/api-review process.
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
[System.Security.SecurityCriticalAttribute]
|
||||
public unsafe delegate void IOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP);
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct NativeOverlapped
|
||||
{
|
||||
public System.IntPtr EventHandle;
|
||||
public System.IntPtr InternalHigh;
|
||||
public System.IntPtr InternalLow;
|
||||
public int OffsetHigh;
|
||||
public int OffsetLow;
|
||||
}
|
||||
public sealed partial class PreAllocatedOverlapped : System.IDisposable
|
||||
{
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public PreAllocatedOverlapped(System.Threading.IOCompletionCallback callback, object state, object pinData) { }
|
||||
public void Dispose() { }
|
||||
}
|
||||
public sealed partial class ThreadPoolBoundHandle : System.IDisposable
|
||||
{
|
||||
internal ThreadPoolBoundHandle() { }
|
||||
public System.Runtime.InteropServices.SafeHandle Handle { get { throw null; } }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public unsafe System.Threading.NativeOverlapped* AllocateNativeOverlapped(System.Threading.IOCompletionCallback callback, object state, object pinData) { throw null; }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public unsafe System.Threading.NativeOverlapped* AllocateNativeOverlapped(System.Threading.PreAllocatedOverlapped preAllocated) { throw null; }
|
||||
public static System.Threading.ThreadPoolBoundHandle BindHandle(System.Runtime.InteropServices.SafeHandle handle) { throw null; }
|
||||
public void Dispose() { }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public unsafe void FreeNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public static unsafe object GetNativeOverlappedState(System.Threading.NativeOverlapped* overlapped) { throw null; }
|
||||
}
|
||||
public partial class Overlapped
|
||||
{
|
||||
public Overlapped() { }
|
||||
[System.ObsoleteAttribute("This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle. http://go.microsoft.com/fwlink/?linkid=14202")]
|
||||
public Overlapped(int offsetLo, int offsetHi, int hEvent, System.IAsyncResult ar) { }
|
||||
public Overlapped(int offsetLo, int offsetHi, System.IntPtr hEvent, System.IAsyncResult ar) { }
|
||||
public System.IAsyncResult AsyncResult { get { throw null; } set { } }
|
||||
[System.ObsoleteAttribute("This property is not 64-bit compatible. Use EventHandleIntPtr instead. http://go.microsoft.com/fwlink/?linkid=14202")]
|
||||
public int EventHandle { get { throw null; } set { } }
|
||||
public System.IntPtr EventHandleIntPtr { get { throw null; } set { } }
|
||||
public int OffsetHigh { get { throw null; } set { } }
|
||||
public int OffsetLow { get { throw null; } set { } }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public static unsafe void Free(System.Threading.NativeOverlapped* nativeOverlappedPtr) { }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
[System.ObsoleteAttribute("This method is not safe. Use Pack (iocb, userData) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
|
||||
public unsafe System.Threading.NativeOverlapped* Pack(System.Threading.IOCompletionCallback iocb) { throw null; }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public unsafe System.Threading.NativeOverlapped* Pack(System.Threading.IOCompletionCallback iocb, object userData) { throw null; }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public static unsafe System.Threading.Overlapped Unpack(System.Threading.NativeOverlapped* nativeOverlappedPtr) { throw null; }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
[System.ObsoleteAttribute("This method is not safe. Use UnsafePack (iocb, userData) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
|
||||
public unsafe System.Threading.NativeOverlapped* UnsafePack(System.Threading.IOCompletionCallback iocb) { throw null; }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
public unsafe System.Threading.NativeOverlapped* UnsafePack(System.Threading.IOCompletionCallback iocb, object userData) { throw null; }
|
||||
}
|
||||
}
|
||||
18
external/corefx/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.csproj
vendored
Normal file
18
external/corefx/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.csproj
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="System.Threading.Overlapped.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user