From: Santiago Fernandez Madero Date: Wed, 5 Jun 2019 16:28:23 +0000 (-0700) Subject: Re-generate reference source against impl for System.Threading.Tasks (dotnet/corefx... X-Git-Tag: submit/tizen/20210909.063632~11031^2~1387 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83f0a624d4f7e7cc9f83bc72b07e69545dd2cab6;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Re-generate reference source against impl for System.Threading.Tasks (dotnet/corefx#38231) Commit migrated from https://github.com/dotnet/corefx/commit/cb603ed5ec0249da022a96f9ec583f24c5a50fae --- diff --git a/src/libraries/System.Threading.Tasks/ref/System.Threading.Tasks.cs b/src/libraries/System.Threading.Tasks/ref/System.Threading.Tasks.cs index 48fb188..1ef7aea 100644 --- a/src/libraries/System.Threading.Tasks/ref/System.Threading.Tasks.cs +++ b/src/libraries/System.Threading.Tasks/ref/System.Threading.Tasks.cs @@ -68,17 +68,20 @@ namespace System.Runtime.CompilerServices 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; } @@ -117,6 +120,12 @@ namespace System.Threading.Tasks public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get { throw null; } } public void Complete() { } } + 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; } + } public partial class TaskCanceledException : System.OperationCanceledException { public TaskCanceledException() { } @@ -144,12 +153,6 @@ namespace System.Threading.Tasks public bool TrySetException(System.Exception exception) { throw null; } public bool TrySetResult(TResult result) { throw null; } } - 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; } - } public static partial class TaskExtensions { public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task task) { throw null; }