1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+ // See the LICENSE file in the project root for more information.
4+ // ------------------------------------------------------------------------------
5+ // Changes to this file must follow the http://aka.ms/api-review process.
6+ // ------------------------------------------------------------------------------
7+ [ assembly: System . Runtime . CompilerServices . CompilationRelaxations ( 8 ) ]
8+ [ assembly: System . Runtime . CompilerServices . RuntimeCompatibility ( WrapNonExceptionThrows = true ) ]
9+ [ assembly: System . Diagnostics . Debuggable ( System . Diagnostics . DebuggableAttribute . DebuggingModes . IgnoreSymbolStoreSequencePoints ) ]
10+ [ assembly: System . Reflection . AssemblyDefaultAlias ( "Microsoft.Bcl.AsyncInterfaces" ) ]
11+ [ assembly: System . Reflection . AssemblyMetadata ( ".NETFrameworkAssembly" , "" ) ]
12+ [ assembly: System . Reflection . AssemblyMetadata ( "Serviceable" , "True" ) ]
13+ [ assembly: System . Reflection . AssemblyMetadata ( "PreferInbox" , "True" ) ]
14+ [ assembly: System . Reflection . AssemblyCompany ( "Microsoft Corporation" ) ]
15+ [ assembly: System . Reflection . AssemblyCopyright ( "© Microsoft Corporation. All rights reserved." ) ]
16+ [ assembly: System . Reflection . AssemblyDescription ( "Microsoft.Bcl.AsyncInterfaces" ) ]
17+ [ assembly: System . Reflection . AssemblyFileVersion ( "4.700.19.46214" ) ]
18+ [ assembly: System . Reflection . AssemblyInformationalVersion ( "3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea" ) ]
19+ [ assembly: System . Reflection . AssemblyProduct ( "Microsoft® .NET Core" ) ]
20+ [ assembly: System . Reflection . AssemblyTitle ( "Microsoft.Bcl.AsyncInterfaces" ) ]
21+ [ assembly: System . Runtime . CompilerServices . ReferenceAssembly ]
22+ [ assembly: System . CLSCompliant ( true ) ]
23+ [ assembly: System . Reflection . AssemblyVersionAttribute ( "1.0.0.0" ) ]
24+ [ assembly: System . Reflection . AssemblyFlagsAttribute ( ( System . Reflection . AssemblyNameFlags ) 0x70 ) ]
25+ namespace System
26+ {
27+ public partial interface IAsyncDisposable
28+ {
29+ Threading . Tasks . ValueTask DisposeAsync ( ) ;
30+ }
31+ }
32+
33+ namespace System . Collections . Generic
34+ {
35+ public partial interface IAsyncEnumerable < out T >
36+ {
37+ IAsyncEnumerator < T > GetAsyncEnumerator ( Threading . CancellationToken cancellationToken = default ) ;
38+ }
39+
40+ public partial interface IAsyncEnumerator < out T > : IAsyncDisposable
41+ {
42+ T Current { get ; }
43+
44+ Threading . Tasks . ValueTask < bool > MoveNextAsync ( ) ;
45+ }
46+ }
47+
48+ namespace System . Runtime . CompilerServices
49+ {
50+ public partial struct AsyncIteratorMethodBuilder
51+ {
52+ private object _dummy ;
53+ private int _dummyPrimitive ;
54+ public void AwaitOnCompleted < TAwaiter , TStateMachine > ( ref TAwaiter awaiter , ref TStateMachine stateMachine )
55+ where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { }
56+
57+ public void AwaitUnsafeOnCompleted < TAwaiter , TStateMachine > ( ref TAwaiter awaiter , ref TStateMachine stateMachine )
58+ where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { }
59+
60+ public void Complete ( ) { }
61+
62+ public static AsyncIteratorMethodBuilder Create ( ) { throw null ; }
63+
64+ public void MoveNext < TStateMachine > ( ref TStateMachine stateMachine )
65+ where TStateMachine : IAsyncStateMachine { }
66+ }
67+
68+ [ AttributeUsage ( AttributeTargets . Method , Inherited = false , AllowMultiple = false ) ]
69+ public sealed partial class AsyncIteratorStateMachineAttribute : StateMachineAttribute
70+ {
71+ public AsyncIteratorStateMachineAttribute ( Type stateMachineType ) : base ( default ! ) { }
72+ }
73+
74+ public readonly partial struct ConfiguredAsyncDisposable
75+ {
76+ private readonly object _dummy ;
77+ private readonly int _dummyPrimitive ;
78+ public readonly ConfiguredValueTaskAwaitable DisposeAsync ( ) { throw null ; }
79+ }
80+
81+ public readonly partial struct ConfiguredCancelableAsyncEnumerable < T >
82+ {
83+ private readonly object _dummy ;
84+ private readonly int _dummyPrimitive ;
85+ public readonly ConfiguredCancelableAsyncEnumerable < T > ConfigureAwait ( bool continueOnCapturedContext ) { throw null ; }
86+
87+ public readonly ConfiguredCancelableAsyncEnumerable < T > . Enumerator GetAsyncEnumerator ( ) { throw null ; }
88+
89+ public readonly ConfiguredCancelableAsyncEnumerable < T > WithCancellation ( Threading . CancellationToken cancellationToken ) { throw null ; }
90+
91+ public readonly partial struct Enumerator
92+ {
93+ private readonly object _dummy ;
94+ private readonly int _dummyPrimitive ;
95+ public T Current { get { throw null ; } }
96+
97+ public readonly ConfiguredValueTaskAwaitable DisposeAsync ( ) { throw null ; }
98+
99+ public readonly ConfiguredValueTaskAwaitable < bool > MoveNextAsync ( ) { throw null ; }
100+ }
101+ }
102+
103+ [ AttributeUsage ( AttributeTargets . Parameter , Inherited = false ) ]
104+ public sealed partial class EnumeratorCancellationAttribute : Attribute
105+ {
106+ }
107+ }
108+
109+ namespace System . Threading . Tasks
110+ {
111+ public static partial class TaskAsyncEnumerableExtensions
112+ {
113+ public static Runtime . CompilerServices . ConfiguredAsyncDisposable ConfigureAwait ( this IAsyncDisposable source , bool continueOnCapturedContext ) { throw null ; }
114+
115+ public static Runtime . CompilerServices . ConfiguredCancelableAsyncEnumerable < T > ConfigureAwait < T > ( this Collections . Generic . IAsyncEnumerable < T > source , bool continueOnCapturedContext ) { throw null ; }
116+
117+ public static Runtime . CompilerServices . ConfiguredCancelableAsyncEnumerable < T > WithCancellation < T > ( this Collections . Generic . IAsyncEnumerable < T > source , CancellationToken cancellationToken ) { throw null ; }
118+ }
119+ }
120+
121+ namespace System . Threading . Tasks . Sources
122+ {
123+ public partial struct ManualResetValueTaskSourceCore < TResult >
124+ {
125+ private TResult _result ;
126+ private object _dummy ;
127+ private int _dummyPrimitive ;
128+ public bool RunContinuationsAsynchronously { get { throw null ; } set { } }
129+
130+ public short Version { get { throw null ; } }
131+
132+ public TResult GetResult ( short token ) { throw null ; }
133+
134+ public ValueTaskSourceStatus GetStatus ( short token ) { throw null ; }
135+
136+ public void OnCompleted ( Action < object > continuation , object state , short token , ValueTaskSourceOnCompletedFlags flags ) { }
137+
138+ public void Reset ( ) { }
139+
140+ public void SetException ( Exception error ) { }
141+
142+ public void SetResult ( TResult result ) { }
143+ }
144+ }
0 commit comments