You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@@ -6,6 +6,5 @@
|
||||
<AssemblyKey>Open</AssemblyKey>
|
||||
<IsNETCoreApp>true</IsNETCoreApp>
|
||||
<IsUAP>true</IsUAP>
|
||||
<IsUAPRef>false</IsUAPRef>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -6,18 +6,13 @@
|
||||
<MinClientVersion>2.8.6</MinClientVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\src\System.Threading.Tasks.Extensions.csproj">
|
||||
<ProjectReference Include="..\ref\System.Threading.Tasks.Extensions.csproj">
|
||||
<SupportedFramework>net45;netcore45;netcoreapp1.0;wpa81;wp8;$(AllXamarinFrameworks)</SupportedFramework>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\System.Threading.Tasks.Extensions.csproj" />
|
||||
|
||||
<!-- Since UAP and .NETCoreApp are package based we still want to enable
|
||||
OOBing libraries that happen to overlap with their framework package.
|
||||
This avoids us having to lock the API in our NuGet packages just
|
||||
to match what shipped inbox: since we can provide a new library
|
||||
we can update it to add API without raising the netstandard version. -->
|
||||
<ValidatePackageSuppression Include="TreatAsOutOfBox">
|
||||
<Value>.NETCoreApp;UAP</Value>
|
||||
</ValidatePackageSuppression>
|
||||
<InboxOnTargetFramework Include="netcoreapp2.0" />
|
||||
<InboxOnTargetFramework Include="$(UAPvNextTFM)" />
|
||||
|
||||
<!-- this package is part of the implementation closure of NETStandard.Library
|
||||
therefore it cannot reference NETStandard.Library -->
|
||||
|
||||
@@ -15,9 +15,9 @@ namespace System.Runtime.CompilerServices
|
||||
}
|
||||
public partial struct AsyncValueTaskMethodBuilder<TResult>
|
||||
{
|
||||
private TResult _result;
|
||||
public System.Threading.Tasks.ValueTask<TResult> Task { get { throw null; } }
|
||||
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
|
||||
[System.Security.SecuritySafeCriticalAttribute]
|
||||
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
|
||||
public static System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<TResult> Create() { throw null; }
|
||||
public void SetException(System.Exception exception) { }
|
||||
@@ -25,20 +25,22 @@ namespace System.Runtime.CompilerServices
|
||||
public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { }
|
||||
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
|
||||
}
|
||||
public partial struct ConfiguredValueTaskAwaitable<TResult>
|
||||
public readonly partial struct ConfiguredValueTaskAwaitable<TResult>
|
||||
{
|
||||
private readonly object _dummy;
|
||||
public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; }
|
||||
public partial struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
|
||||
{
|
||||
private object _dummy;
|
||||
public bool IsCompleted { get { throw null; } }
|
||||
public TResult GetResult() { throw null; }
|
||||
public void OnCompleted(System.Action continuation) { }
|
||||
public void UnsafeOnCompleted(System.Action continuation) { }
|
||||
}
|
||||
}
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct ValueTaskAwaiter<TResult> : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
|
||||
{
|
||||
private object _dummy;
|
||||
public bool IsCompleted { get { throw null; } }
|
||||
public TResult GetResult() { throw null; }
|
||||
public void OnCompleted(System.Action continuation) { }
|
||||
@@ -48,10 +50,11 @@ namespace System.Runtime.CompilerServices
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
[System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>))]
|
||||
public partial struct ValueTask<TResult> : System.IEquatable<System.Threading.Tasks.ValueTask<TResult>>
|
||||
public readonly partial struct ValueTask<TResult> : System.IEquatable<System.Threading.Tasks.ValueTask<TResult>>
|
||||
{
|
||||
public ValueTask(System.Threading.Tasks.Task<TResult> task) { throw null;}
|
||||
public ValueTask(TResult result) { throw null;}
|
||||
internal readonly TResult _result;
|
||||
public ValueTask(System.Threading.Tasks.Task<TResult> task) { throw null; }
|
||||
public ValueTask(TResult result) { throw null; }
|
||||
public bool IsCanceled { get { throw null; } }
|
||||
public bool IsCompleted { get { throw null; } }
|
||||
public bool IsCompletedSuccessfully { get { throw null; } }
|
||||
|
||||
@@ -4,8 +4,13 @@
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{0DF7FA9A-E7D3-4CEF-862B-A37F5BBBB54C}</ProjectGuid>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netcoreapp' Or '$(TargetGroup)' == 'uap'">true</IsPartialFacadeAssembly>
|
||||
<!--
|
||||
Netstandard assembly version is frozen and thus cannot adde any more APIs to it because
|
||||
the types have been moved inbox and type-forwarded into CoreLib. The only way to add more
|
||||
APIs is to add them directly to the particular platform.
|
||||
-->
|
||||
<AssemblyVersion Condition="$(TargetGroup.StartsWith('netstandard'))">4.1.1.0</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
<!-- Default configurations to help VS understand the configurations -->
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" />
|
||||
@@ -26,4 +31,4 @@
|
||||
<Reference Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -7,8 +7,8 @@
|
||||
<PackageTargetFramework Condition="'$(TargetGroup)' == 'netstandard1.0'">netstandard1.0;portable-net45+win8+wp8+wpa81</PackageTargetFramework>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' != 'netstandard' and '$(TargetGroup)' != 'netstandard1.0'">true</IsPartialFacadeAssembly>
|
||||
<ExcludeResourcesImport Condition="'$(IsPartialFacadeAssembly)'=='true'">true</ExcludeResourcesImport>
|
||||
<AssemblyVersion Condition="$(TargetGroup.StartsWith('netstandard'))">4.1.1.0</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
<!-- Default configurations to help VS understand the configurations -->
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" />
|
||||
|
||||
@@ -91,7 +91,6 @@ namespace System.Runtime.CompilerServices
|
||||
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
/// <param name="awaiter">the awaiter</param>
|
||||
/// <param name="stateMachine">The state machine.</param>
|
||||
[SecuritySafeCritical]
|
||||
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
|
||||
where TAwaiter : ICriticalNotifyCompletion
|
||||
where TStateMachine : IAsyncStateMachine
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace System.Runtime.CompilerServices
|
||||
/// <summary>Provides an awaitable type that enables configured awaits on a <see cref="ValueTask{TResult}"/>.</summary>
|
||||
/// <typeparam name="TResult">The type of the result produced.</typeparam>
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public struct ConfiguredValueTaskAwaitable<TResult>
|
||||
public readonly struct ConfiguredValueTaskAwaitable<TResult>
|
||||
{
|
||||
/// <summary>The wrapped <see cref="ValueTask{TResult}"/>.</summary>
|
||||
private readonly ValueTask<TResult> _value;
|
||||
@@ -34,7 +34,7 @@ namespace System.Runtime.CompilerServices
|
||||
|
||||
/// <summary>Provides an awaiter for a <see cref="ConfiguredValueTaskAwaitable{TResult}"/>.</summary>
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion
|
||||
public readonly struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion
|
||||
{
|
||||
/// <summary>The value being awaited.</summary>
|
||||
private readonly ValueTask<TResult> _value;
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Provides an awaiter for a <see cref="ValueTask{TResult}"/>.</summary>
|
||||
public struct ValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
|
||||
public readonly struct ValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
|
||||
{
|
||||
/// <summary>The value being awaited.</summary>
|
||||
private readonly ValueTask<TResult> _value;
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace System.Threading.Tasks
|
||||
/// </remarks>
|
||||
[AsyncMethodBuilder(typeof(AsyncValueTaskMethodBuilder<>))]
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public struct ValueTask<TResult> : IEquatable<ValueTask<TResult>>
|
||||
public readonly struct ValueTask<TResult> : IEquatable<ValueTask<TResult>>
|
||||
{
|
||||
/// <summary>The task to be used if the operation completed asynchronously or if it completed synchronously but non-successfully.</summary>
|
||||
internal readonly Task<TResult> _task;
|
||||
|
||||
Reference in New Issue
Block a user