From: Anirudh Agnihotry Date: Fri, 4 Oct 2019 23:44:56 +0000 (-0700) Subject: Removing Microsoft.bcl* packages (dotnet/corefx#41270) X-Git-Tag: submit/tizen/20210909.063632~11031^2~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d160e84b4cd2ff40ccfcd09553d3d53e7a0ac7b9;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Removing Microsoft.bcl* packages (dotnet/corefx#41270) * removing Microsoft.bcl packages * targetframework conditions modified * adding versionless config to avoid binplace * uap standard conflicts * remove package configurations * negation if and remove exclude reference asset property * adding choosing when statement * using attribute * Moveing packages to include to the common * ChooseWhen -> IF Commit migrated from https://github.com/dotnet/corefx/commit/99ea2b5aebf7361a5baa638c978cb6214fca5217 --- diff --git a/eng/restore/binplacePackages/Configurations.props b/eng/restore/binplacePackages/Configurations.props index d72738d..ef125f3 100644 --- a/eng/restore/binplacePackages/Configurations.props +++ b/eng/restore/binplacePackages/Configurations.props @@ -12,6 +12,8 @@ netstandard2.0; netstandard; netcoreapp2.0; + netcoreapp3.0; + netcoreapp; uap10.0.16299; diff --git a/eng/restore/binplacePackages/binplacePackages.depproj b/eng/restore/binplacePackages/binplacePackages.depproj index eeb3109..8e7933b 100644 --- a/eng/restore/binplacePackages/binplacePackages.depproj +++ b/eng/restore/binplacePackages/binplacePackages.depproj @@ -26,21 +26,17 @@ - + + - - 4.5.3 - - - - 4.5.0 - - - - 4.5.2 - - + + + + + + + diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/Directory.Build.props b/src/libraries/Microsoft.Bcl.AsyncInterfaces/Directory.Build.props deleted file mode 100644 index 52ffcc2..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/Directory.Build.props +++ /dev/null @@ -1,9 +0,0 @@ - - - - 1.2.0 - 1.0.0.0 - Open - - - diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/Microsoft.Bcl.AsyncInterfaces.sln b/src/libraries/Microsoft.Bcl.AsyncInterfaces/Microsoft.Bcl.AsyncInterfaces.sln deleted file mode 100644 index 11cb0de..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/Microsoft.Bcl.AsyncInterfaces.sln +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27213.1 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Bcl.AsyncInterfaces.Tests", "tests\Microsoft.Bcl.AsyncInterfaces.Tests.csproj", "{72E21903-0FBA-444E-9855-3B4F05DFC1F9}" - ProjectSection(ProjectDependencies) = postProject - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA} = {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA} - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Bcl.AsyncInterfaces", "src\Microsoft.Bcl.AsyncInterfaces.csproj", "{96A7CE75-B5E8-421B-BDF0-C4651D97D8CA}" - ProjectSection(ProjectDependencies) = postProject - {6371299B-8F39-4A0A-A9CD-70F80FF205F6} = {6371299B-8F39-4A0A-A9CD-70F80FF205F6} - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Bcl.AsyncInterfaces", "ref\Microsoft.Bcl.AsyncInterfaces.csproj", "{6371299B-8F39-4A0A-A9CD-70F80FF205F6}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1A2F9F4A-A032-433E-B914-ADD5992BB178}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72E21903-0FBA-444E-9855-3B4F05DFC1F9}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU - {72E21903-0FBA-444E-9855-3B4F05DFC1F9}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU - {72E21903-0FBA-444E-9855-3B4F05DFC1F9}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU - {72E21903-0FBA-444E-9855-3B4F05DFC1F9}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU - {6371299B-8F39-4A0A-A9CD-70F80FF205F6}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU - {6371299B-8F39-4A0A-A9CD-70F80FF205F6}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU - {6371299B-8F39-4A0A-A9CD-70F80FF205F6}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU - {6371299B-8F39-4A0A-A9CD-70F80FF205F6}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {72E21903-0FBA-444E-9855-3B4F05DFC1F9} = {1A2F9F4A-A032-433E-B914-ADD5992BB178} - {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD} - {6371299B-8F39-4A0A-A9CD-70F80FF205F6} = {2E666815-2EDB-464B-9DF6-380BF4789AD4} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {38217F72-3F9A-4B15-96C8-BFA23083AAD3} - EndGlobalSection -EndGlobal diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/pkg/Microsoft.Bcl.AsyncInterfaces.pkgproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/pkg/Microsoft.Bcl.AsyncInterfaces.pkgproj deleted file mode 100644 index 3b0fbee..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/pkg/Microsoft.Bcl.AsyncInterfaces.pkgproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Configurations.props b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Configurations.props deleted file mode 100644 index 4de3eef..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Configurations.props +++ /dev/null @@ -1,13 +0,0 @@ - - - - netstandard; - netstandard2.1; - net461; - - - $(PackageConfigurations); - netfx; - - - diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.Forwards.cs b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.Forwards.cs deleted file mode 100644 index 1d2d2cc..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.Forwards.cs +++ /dev/null @@ -1,14 +0,0 @@ -// 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. - -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IAsyncDisposable))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerable<>))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerator<>))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredAsyncDisposable))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.EnumeratorCancellationAttribute))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.TaskAsyncEnumerableExtensions))] -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>))] diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.cs b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.cs deleted file mode 100644 index 5faefbb..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.cs +++ /dev/null @@ -1,96 +0,0 @@ -// 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 -{ - public partial interface IAsyncDisposable - { - System.Threading.Tasks.ValueTask DisposeAsync(); - } -} -namespace System.Collections.Generic -{ - public partial interface IAsyncEnumerable - { - System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - } - public partial interface IAsyncEnumerator : System.IAsyncDisposable - { - T Current { get; } - System.Threading.Tasks.ValueTask MoveNextAsync(); - } -} -namespace System.Runtime.CompilerServices -{ - public partial struct AsyncIteratorMethodBuilder - { - private object _dummy; - public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } - public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } - public void Complete() { } - public static System.Runtime.CompilerServices.AsyncIteratorMethodBuilder Create() { throw null; } - public void MoveNext(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false, AllowMultiple=false)] - public sealed partial class AsyncIteratorStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute - { - public AsyncIteratorStateMachineAttribute(System.Type stateMachineType) : base (default(System.Type)) { } - } - public readonly partial struct ConfiguredAsyncDisposable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } - } - public readonly partial struct ConfiguredCancelableAsyncEnumerable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(bool continueOnCapturedContext) { throw null; } - public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable.Enumerator GetAsyncEnumerator() { throw null; } - public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(System.Threading.CancellationToken cancellationToken) { throw null; } - public readonly partial struct Enumerator - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public T Current { get { throw null; } } - public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } - public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable MoveNextAsync() { throw null; } - } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] - public sealed partial class EnumeratorCancellationAttribute : System.Attribute - { - public EnumeratorCancellationAttribute() { } - } -} -namespace System.Threading.Tasks -{ - public static partial class TaskAsyncEnumerableExtensions - { - public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) { throw null; } - } -} -namespace System.Threading.Tasks.Sources -{ - public partial struct ManualResetValueTaskSourceCore - { - private TResult _result; - private object _dummy; - private int _dummyPrimitive; - public bool RunContinuationsAsynchronously { get { throw null; } set { } } - public short Version { get { throw null; } } - public TResult GetResult(short token) { throw null; } - public System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token) { throw null; } - public void OnCompleted(System.Action continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags) { } - public void Reset() { } - public void SetException(System.Exception error) { } - public void SetResult(TResult result) { } - } -} diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj deleted file mode 100644 index 594ccdd..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props deleted file mode 100644 index 4de3eef..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props +++ /dev/null @@ -1,13 +0,0 @@ - - - - netstandard; - netstandard2.1; - net461; - - - $(PackageConfigurations); - netfx; - - - diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj deleted file mode 100644 index d15a626..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - true - - - - - - ProductionCode\Common\CoreLib\System\Collections\Generic\IAsyncEnumerable.cs - - - ProductionCode\Common\CoreLib\System\Collections\Generic\IAsyncEnumerator.cs - - - ProductionCode\Common\CoreLib\System\IAsyncDisposable.cs - - - ProductionCode\Common\CoreLib\System\Runtime\CompilerServices\AsyncIteratorStateMachineAttribute.cs - - - ProductionCode\Common\CoreLib\System\Runtime\CompilerServices\ConfiguredAsyncDisposable.cs - - - ProductionCode\Common\CoreLib\System\Runtime\CompilerServices\ConfiguredCancelableAsyncEnumerable.cs - - - ProductionCode\Common\CoreLib\System\Threading\Tasks\TaskAsyncEnumerableExtensions.cs - - - ProductionCode\System.Runtime\src\System\Runtime\CompilerServices\EnumeratorCancellationAttribute.cs - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs deleted file mode 100644 index fa98add..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs +++ /dev/null @@ -1,62 +0,0 @@ -// 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. - -// NOTE: This is a copy of -// https://github.com/dotnet/coreclr/blame/07b3afc27304800f00975c8fd4836b319aaa8820/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs -// modified to be compilable against .NET Standard 2.0. Key differences: -// - Uses the wrapped AsyncTaskMethodBuilder for Create and MoveNext. -// - Uses a custom object for the debugger identity. -// - Nullable annotations removed. - -using System.Runtime.InteropServices; -using System.Threading; - -namespace System.Runtime.CompilerServices -{ - /// Represents a builder for asynchronous iterators. - [StructLayout(LayoutKind.Auto)] - public struct AsyncIteratorMethodBuilder - { - private AsyncTaskMethodBuilder _methodBuilder; // mutable struct; do not make it readonly - private object _id; - - /// Creates an instance of the struct. - /// The initialized instance. - public static AsyncIteratorMethodBuilder Create() => - new AsyncIteratorMethodBuilder() { _methodBuilder = AsyncTaskMethodBuilder.Create() }; - - /// Invokes on the state machine while guarding the . - /// The type of the state machine. - /// The state machine instance, passed by reference. - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public void MoveNext(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine => - _methodBuilder.Start(ref stateMachine); - - /// Schedules the state machine to proceed to the next action when the specified awaiter completes. - /// The type of the awaiter. - /// The type of the state machine. - /// The awaiter. - /// The state machine. - public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) - where TAwaiter : INotifyCompletion - where TStateMachine : IAsyncStateMachine => - _methodBuilder.AwaitOnCompleted(ref awaiter, ref stateMachine); - - /// Schedules the state machine to proceed to the next action when the specified awaiter completes. - /// The type of the awaiter. - /// The type of the state machine. - /// The awaiter. - /// The state machine. - public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) - where TAwaiter : ICriticalNotifyCompletion - where TStateMachine : IAsyncStateMachine => - _methodBuilder.AwaitUnsafeOnCompleted(ref awaiter, ref stateMachine); - - /// Marks iteration as being completed, whether successfully or otherwise. - public void Complete() => _methodBuilder.SetResult(); - - /// Gets an object that may be used to uniquely identify this builder to the debugger. - internal object ObjectIdForDebugger => _id ?? Interlocked.CompareExchange(ref _id, new object(), null) ?? _id; - } -} diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs deleted file mode 100644 index 0adecb0..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs +++ /dev/null @@ -1,272 +0,0 @@ -// 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. - -// NOTE: This is a copy of -// https://github.com/dotnet/coreclr/blame/07b3afc27304800f00975c8fd4836b319aaa8820/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs, -// modified to be compilable against .NET Standard 2.0. It is missing optimizations present in the .NET Core implementation and should -// only be used when a .NET Standard 2.0 implementation is required. Key differences: -// - ThrowHelper call sites are replaced by normal exception throws. -// - ThreadPool.{Unsafe}QueueUserWorkItem calls that accepted Action/object/bool arguments are replaced by Task.Factory.StartNew usage. -// - ExecutionContext.RunInternal are replaced by ExecutionContext.Run. -// - Nullability annotations are removed. - -using System.Diagnostics; -using System.Runtime.ExceptionServices; -using System.Runtime.InteropServices; - -namespace System.Threading.Tasks.Sources -{ - /// Provides the core logic for implementing a manual-reset or . - /// - [StructLayout(LayoutKind.Auto)] - public struct ManualResetValueTaskSourceCore - { - /// - /// The callback to invoke when the operation completes if was called before the operation completed, - /// or if the operation completed before a callback was supplied, - /// or null if a callback hasn't yet been provided and the operation hasn't yet completed. - /// - private Action _continuation; - /// State to pass to . - private object _continuationState; - /// to flow to the callback, or null if no flowing is required. - private ExecutionContext _executionContext; - /// - /// A "captured" or with which to invoke the callback, - /// or null if no special context is required. - /// - private object _capturedContext; - /// Whether the current operation has completed. - private bool _completed; - /// The result with which the operation succeeded, or the default value if it hasn't yet completed or failed. - private TResult _result; - /// The exception with which the operation failed, or null if it hasn't yet completed or completed successfully. - private ExceptionDispatchInfo _error; - /// The current version of this value, used to help prevent misuse. - private short _version; - - /// Gets or sets whether to force continuations to run asynchronously. - /// Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true. - public bool RunContinuationsAsynchronously { get; set; } - - /// Resets to prepare for the next operation. - public void Reset() - { - // Reset/update state for the next use/await of this instance. - _version++; - _completed = false; - _result = default!; - _error = null; - _executionContext = null; - _capturedContext = null; - _continuation = null; - _continuationState = null; - } - - /// Completes with a successful result. - /// The result. - public void SetResult(TResult result) - { - _result = result; - SignalCompletion(); - } - - /// Complets with an error. - /// - public void SetException(Exception error) - { - _error = ExceptionDispatchInfo.Capture(error); - SignalCompletion(); - } - - /// Gets the operation version. - public short Version => _version; - - /// Gets the status of the operation. - /// Opaque value that was provided to the 's constructor. - public ValueTaskSourceStatus GetStatus(short token) - { - ValidateToken(token); - return - _continuation == null || !_completed ? ValueTaskSourceStatus.Pending : - _error == null ? ValueTaskSourceStatus.Succeeded : - _error.SourceException is OperationCanceledException ? ValueTaskSourceStatus.Canceled : - ValueTaskSourceStatus.Faulted; - } - - /// Gets the result of the operation. - /// Opaque value that was provided to the 's constructor. - public TResult GetResult(short token) - { - ValidateToken(token); - if (!_completed) - { - throw new InvalidOperationException(); - } - - _error?.Throw(); - return _result; - } - - /// Schedules the continuation action for this operation. - /// The continuation to invoke when the operation has completed. - /// The state object to pass to when it's invoked. - /// Opaque value that was provided to the 's constructor. - /// The flags describing the behavior of the continuation. - public void OnCompleted(Action continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) - { - if (continuation == null) - { - throw new ArgumentNullException(nameof(continuation)); - } - ValidateToken(token); - - if ((flags & ValueTaskSourceOnCompletedFlags.FlowExecutionContext) != 0) - { - _executionContext = ExecutionContext.Capture(); - } - - if ((flags & ValueTaskSourceOnCompletedFlags.UseSchedulingContext) != 0) - { - SynchronizationContext sc = SynchronizationContext.Current; - if (sc != null && sc.GetType() != typeof(SynchronizationContext)) - { - _capturedContext = sc; - } - else - { - TaskScheduler ts = TaskScheduler.Current; - if (ts != TaskScheduler.Default) - { - _capturedContext = ts; - } - } - } - - // We need to set the continuation state before we swap in the delegate, so that - // if there's a race between this and SetResult/Exception and SetResult/Exception - // sees the _continuation as non-null, it'll be able to invoke it with the state - // stored here. However, this also means that if this is used incorrectly (e.g. - // awaited twice concurrently), _continuationState might get erroneously overwritten. - // To minimize the chances of that, we check preemptively whether _continuation - // is already set to something other than the completion sentinel. - - object oldContinuation = _continuation; - if (oldContinuation == null) - { - _continuationState = state; - oldContinuation = Interlocked.CompareExchange(ref _continuation, continuation, null); - } - - if (oldContinuation != null) - { - // Operation already completed, so we need to queue the supplied callback. - if (!ReferenceEquals(oldContinuation, ManualResetValueTaskSourceCoreShared.s_sentinel)) - { - throw new InvalidOperationException(); - } - - switch (_capturedContext) - { - case null: - Task.Factory.StartNew(continuation, state, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); - break; - - case SynchronizationContext sc: - sc.Post(s => - { - var tuple = (Tuple, object>)s; - tuple.Item1(tuple.Item2); - }, Tuple.Create(continuation, state)); - break; - - case TaskScheduler ts: - Task.Factory.StartNew(continuation, state, CancellationToken.None, TaskCreationOptions.DenyChildAttach, ts); - break; - } - } - } - - /// Ensures that the specified token matches the current version. - /// The token supplied by . - private void ValidateToken(short token) - { - if (token != _version) - { - throw new InvalidOperationException(); - } - } - - /// Signals that the operation has completed. Invoked after the result or error has been set. - private void SignalCompletion() - { - if (_completed) - { - throw new InvalidOperationException(); - } - _completed = true; - - if (_continuation != null || Interlocked.CompareExchange(ref _continuation, ManualResetValueTaskSourceCoreShared.s_sentinel, null) != null) - { - if (_executionContext != null) - { - ExecutionContext.Run( - _executionContext, - s => ((ManualResetValueTaskSourceCore)s).InvokeContinuation(), - this); - } - else - { - InvokeContinuation(); - } - } - } - - /// - /// Invokes the continuation with the appropriate captured context / scheduler. - /// This assumes that if is not null we're already - /// running within that . - /// - private void InvokeContinuation() - { - Debug.Assert(_continuation != null); - - switch (_capturedContext) - { - case null: - if (RunContinuationsAsynchronously) - { - Task.Factory.StartNew(_continuation, _continuationState, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); - } - else - { - _continuation(_continuationState); - } - break; - - case SynchronizationContext sc: - sc.Post(s => - { - var state = (Tuple, object>)s; - state.Item1(state.Item2); - }, Tuple.Create(_continuation, _continuationState)); - break; - - case TaskScheduler ts: - Task.Factory.StartNew(_continuation, _continuationState, CancellationToken.None, TaskCreationOptions.DenyChildAttach, ts); - break; - } - } - } - - internal static class ManualResetValueTaskSourceCoreShared // separated out of generic to avoid unnecessary duplication - { - internal static readonly Action s_sentinel = CompletionSentinel; - private static void CompletionSentinel(object _) // named method to aid debugging - { - Debug.Fail("The sentinel delegate should never be invoked."); - throw new InvalidOperationException(); - } - } -} diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Configurations.props b/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Configurations.props deleted file mode 100644 index c3d0d53..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Configurations.props +++ /dev/null @@ -1,9 +0,0 @@ - - - - netcoreapp; - netfx; - uap; - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Microsoft.Bcl.AsyncInterfaces.Tests.csproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Microsoft.Bcl.AsyncInterfaces.Tests.csproj deleted file mode 100644 index b527c0a..0000000 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/tests/Microsoft.Bcl.AsyncInterfaces.Tests.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;uap-Debug;uap-Release - - - - Common\tests\System\Threading\Tasks\Sources\ManualResetValueTaskSource.cs - - - System.Threading.Tasks\tests\System.Runtime.CompilerServices\ConfiguredCancelableAsyncEnumerableTests.netcoreapp.cs - - - System.Threading.Tasks.Extensions\tests\ManualResetValueTaskSourceTests.cs - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.HashCode/Directory.Build.props b/src/libraries/Microsoft.Bcl.HashCode/Directory.Build.props deleted file mode 100644 index 52ffcc2..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/Directory.Build.props +++ /dev/null @@ -1,9 +0,0 @@ - - - - 1.2.0 - 1.0.0.0 - Open - - - diff --git a/src/libraries/Microsoft.Bcl.HashCode/Microsoft.Bcl.HashCode.sln b/src/libraries/Microsoft.Bcl.HashCode/Microsoft.Bcl.HashCode.sln deleted file mode 100644 index 55acc61..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/Microsoft.Bcl.HashCode.sln +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27213.1 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Bcl.HashCode", "src\Microsoft.Bcl.HashCode.csproj", "{B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB}" - ProjectSection(ProjectDependencies) = postProject - {96AA2060-C846-4E56-9509-E8CB9C114C8F} = {96AA2060-C846-4E56-9509-E8CB9C114C8F} - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Bcl.HashCode", "ref\Microsoft.Bcl.HashCode.csproj", "{96AA2060-C846-4E56-9509-E8CB9C114C8F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU - {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU - {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU - {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU - {96AA2060-C846-4E56-9509-E8CB9C114C8F}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU - {96AA2060-C846-4E56-9509-E8CB9C114C8F}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU - {96AA2060-C846-4E56-9509-E8CB9C114C8F}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU - {96AA2060-C846-4E56-9509-E8CB9C114C8F}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD} - {96AA2060-C846-4E56-9509-E8CB9C114C8F} = {2E666815-2EDB-464B-9DF6-380BF4789AD4} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9B2C2F54-126A-4D67-8690-F9E19A1B901F} - EndGlobalSection -EndGlobal diff --git a/src/libraries/Microsoft.Bcl.HashCode/pkg/Microsoft.Bcl.HashCode.pkgproj b/src/libraries/Microsoft.Bcl.HashCode/pkg/Microsoft.Bcl.HashCode.pkgproj deleted file mode 100644 index 522a674..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/pkg/Microsoft.Bcl.HashCode.pkgproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props b/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props deleted file mode 100644 index 0a07627..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - netstandard; - netstandard2.1; - netcoreapp2.1; - net461; - - - $(PackageConfigurations); - netcoreapp; - netfx; - - - diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.Forwards.cs b/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.Forwards.cs deleted file mode 100644 index 2ed742d..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.Forwards.cs +++ /dev/null @@ -1,5 +0,0 @@ -// 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. - -[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.HashCode))] \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.cs b/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.cs deleted file mode 100644 index e211d1a..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.cs +++ /dev/null @@ -1,27 +0,0 @@ -// 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 -{ - public partial struct HashCode - { - private int _dummyPrimitive; - public void Add(T value) { } - public void Add(T value, System.Collections.Generic.IEqualityComparer comparer) { } - public static int Combine(T1 value1) { throw null; } - public static int Combine(T1 value1, T2 value2) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7) { throw null; } - public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public int ToHashCode() { throw null; } - } -} diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj b/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj deleted file mode 100644 index dd2c4f9..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/BitOperations.cs b/src/libraries/Microsoft.Bcl.HashCode/src/BitOperations.cs deleted file mode 100644 index 2699932..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/src/BitOperations.cs +++ /dev/null @@ -1,37 +0,0 @@ -// 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.CompilerServices; - -namespace System.Numerics -{ - // NOTE: This class is a copy from src\Common\src\CoreLib\System\Numerics\BitOperations.cs only for HashCode purposes. - // Any changes to the BitOperations class should be done in there instead. - internal static class BitOperations - { - /// - /// Rotates the specified value left by the specified number of bits. - /// Similar in behavior to the x86 instruction ROL. - /// - /// The value to rotate. - /// The number of bits to rotate by. - /// Any value outside the range [0..31] is treated as congruent mod 32. - /// The rotated value. - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static uint RotateLeft(uint value, int offset) - => (value << offset) | (value >> (32 - offset)); - - /// - /// Rotates the specified value left by the specified number of bits. - /// Similar in behavior to the x86 instruction ROL. - /// - /// The value to rotate. - /// The number of bits to rotate by. - /// Any value outside the range [0..63] is treated as congruent mod 64. - /// The rotated value. - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ulong RotateLeft(ulong value, int offset) - => (value << offset) | (value >> (64 - offset)); - } -} diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props b/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props deleted file mode 100644 index 0a07627..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - netstandard; - netstandard2.1; - netcoreapp2.1; - net461; - - - $(PackageConfigurations); - netcoreapp; - netfx; - - - diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Interop.GetRandomBytes.cs b/src/libraries/Microsoft.Bcl.HashCode/src/Interop.GetRandomBytes.cs deleted file mode 100644 index 0b24650..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Interop.GetRandomBytes.cs +++ /dev/null @@ -1,14 +0,0 @@ -// 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; - -internal partial class Interop -{ - internal static unsafe void GetRandomBytes(byte* buffer, int length) - { - byte[] bytes = Guid.NewGuid().ToByteArray(); - buffer = (byte*)BitConverter.ToUInt32(bytes, 0); - } -} diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj b/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj deleted file mode 100644 index 6bf4005..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - true - true - $(IsPartialFacadeAssembly) - net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - enable - - - - ProductionCode\Common\CoreLib\System\HashCode.cs - - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Resources/Strings.resx b/src/libraries/Microsoft.Bcl.HashCode/src/Resources/Strings.resx deleted file mode 100644 index 1155d69..0000000 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Resources/Strings.resx +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - HashCode is a mutable struct and should not be compared with other HashCodes. - - - HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code. - - diff --git a/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj b/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj index 7aa54c2..24012aa 100644 --- a/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj +++ b/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj @@ -1,9 +1,7 @@ - - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - + net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) @@ -16,10 +14,5 @@ .NETCoreApp;UAP - - - true - \ No newline at end of file diff --git a/src/libraries/System.Text.Json/ref/Configurations.props b/src/libraries/System.Text.Json/ref/Configurations.props index cf9d7fa..00cb2684 100644 --- a/src/libraries/System.Text.Json/ref/Configurations.props +++ b/src/libraries/System.Text.Json/ref/Configurations.props @@ -1,11 +1,7 @@  - - netstandard; - net461; - - $(PackageConfigurations) + netstandard; netcoreapp; uap; netfx; diff --git a/src/libraries/System.Text.Json/ref/System.Text.Json.csproj b/src/libraries/System.Text.Json/ref/System.Text.Json.csproj index aacf57e..7f1eb2d 100644 --- a/src/libraries/System.Text.Json/ref/System.Text.Json.csproj +++ b/src/libraries/System.Text.Json/ref/System.Text.Json.csproj @@ -15,7 +15,7 @@ + - \ No newline at end of file diff --git a/src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json b/src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json index bd45b44..68d87b3 100644 --- a/src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json +++ b/src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json @@ -20,13 +20,6 @@ "net45": "4.0.0.0" } }, - "Microsoft.Bcl.AsyncInterfaces": { - "BaselineVersion": "1.2.0", - "InboxOn": {}, - "AssemblyVersionInPackageVersion": { - "1.0.0.0": "1.0.0" - } - }, "Microsoft.Bcl.HashCode": { "BaselineVersion": "1.2.0", "InboxOn": {}, diff --git a/src/libraries/pkg/descriptions.json b/src/libraries/pkg/descriptions.json index bb20251..48605b8 100644 --- a/src/libraries/pkg/descriptions.json +++ b/src/libraries/pkg/descriptions.json @@ -1049,15 +1049,6 @@ ] }, { - "Name": "Microsoft.Bcl.AsyncInterfaces", - "Description": "Provides the IAsyncEnumerable and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0.", - "CommonTypes": [ - "System.IAsyncDisposable", - "System.Collections.Generic.IAsyncEnumerable", - "System.Collections.Generic.IAsyncEnumerator" - ] - }, - { "Name": "System.Net.Http", "Description": "Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers.", "CommonTypes": [ diff --git a/src/libraries/shims/ApiCompatBaseline.uap.netstandard.txt b/src/libraries/shims/ApiCompatBaseline.uap.netstandard.txt index a3749bf..cd59255 100644 --- a/src/libraries/shims/ApiCompatBaseline.uap.netstandard.txt +++ b/src/libraries/shims/ApiCompatBaseline.uap.netstandard.txt @@ -137,4 +137,14 @@ CannotSealType : Type 'System.Linq.EnumerableExecutor' is effectively (has a pri MembersMustExist : Member 'System.Linq.EnumerableExecutor..ctor()' does not exist in the implementation but it does exist in the contract. CannotSealType : Type 'System.Linq.EnumerableQuery' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'System.Linq.EnumerableQuery..ctor()' does not exist in the implementation but it does exist in the contract. -Total Issues: 121 +TypesMustExist : Type 'System.IAsyncDisposable' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Collections.Generic.IAsyncEnumerable' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Collections.Generic.IAsyncEnumerator' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Runtime.CompilerServices.AsyncIteratorMethodBuilder' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Runtime.CompilerServices.ConfiguredAsyncDisposable' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Runtime.CompilerServices.EnumeratorCancellationAttribute' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Threading.Tasks.TaskAsyncEnumerableExtensions' does not exist in the implementation but it does exist in the contract. +TypesMustExist : Type 'System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore' does not exist in the implementation but it does exist in the contract. +Total Issues: 131