48 implementations of ICriticalNotifyCompletion
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\SignalR\common\Shared\AwaitableThreadPool.cs (1)
17public readonly struct Awaitable : ICriticalNotifyCompletion
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
65public readonly struct Awaiter : ICriticalNotifyCompletion
Microsoft.AspNetCore.Mvc.Core (1)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
65public readonly struct Awaiter : ICriticalNotifyCompletion
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
65public readonly struct Awaiter : ICriticalNotifyCompletion
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\StreamCloseAwaitable.cs (1)
9internal sealed class StreamCloseAwaitable : ICriticalNotifyCompletion
Microsoft.AspNetCore.SignalR.Client.Core (2)
src\aspnetcore\src\SignalR\common\Shared\AwaitableThreadPool.cs (1)
17public readonly struct Awaitable : ICriticalNotifyCompletion
src\aspnetcore\src\SignalR\common\Shared\TimerAwaitable.cs (1)
13internal sealed class TimerAwaitable : IDisposable, ICriticalNotifyCompletion
Microsoft.AspNetCore.SignalR.Core (1)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
65public readonly struct Awaiter : ICriticalNotifyCompletion
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\Dependencies\Threading\ConfiguredYieldAwaitable.cs (1)
33: INotifyCompletion, ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\TaskExtensions.cs (1)
69public readonly struct NoThrowTaskAwaiter : ICriticalNotifyCompletion
src\roslyn\src\Dependencies\Threading\ValueTaskExtensions.cs (2)
100public readonly struct NoThrowValueTaskAwaiter : ICriticalNotifyCompletion 200public readonly struct NoThrowValueTaskAwaiter<TResult> : ICriticalNotifyCompletion
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Threading\Tasks\RendezvousAwaitable.cs (1)
15internal class RendezvousAwaitable<TResult> : ICriticalNotifyCompletion
System.Private.CoreLib (10)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.RuntimeAsyncYielder.cs (1)
12private sealed class RuntimeAsyncYielder : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs (2)
30public readonly struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, IStateMachineBoxAwareAwaiter 143public readonly struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, IStateMachineBoxAwareAwaiter
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (4)
20public readonly struct TaskAwaiter : ICriticalNotifyCompletion, ITaskAwaiter 314public readonly struct TaskAwaiter<TResult> : ICriticalNotifyCompletion, ITaskAwaiter 407public readonly struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, IConfiguredTaskAwaiter 489public readonly struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, IConfiguredTaskAwaiter
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs (2)
12public readonly struct ValueTaskAwaiter : ICriticalNotifyCompletion, IStateMachineBoxAwareAwaiter 115public readonly struct ValueTaskAwaiter<TResult> : ICriticalNotifyCompletion, IStateMachineBoxAwareAwaiter
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (1)
47public readonly struct YieldAwaiter : ICriticalNotifyCompletion, IStateMachineBoxAwareAwaiter
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\TimerAwaitable.cs (1)
13internal sealed class TimerAwaitable : IDisposable, ICriticalNotifyCompletion
34 references to ICriticalNotifyCompletion
Microsoft.AspNetCore.Http.Extensions (3)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (3)
18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 84var implementsICriticalNotifyCompletion = typeof(ICriticalNotifyCompletion).IsAssignableFrom(awaiterType);
Microsoft.AspNetCore.Mvc.Core (3)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (3)
18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 84var implementsICriticalNotifyCompletion = typeof(ICriticalNotifyCompletion).IsAssignableFrom(awaiterType);
Microsoft.AspNetCore.OpenApi (3)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (3)
18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 84var implementsICriticalNotifyCompletion = typeof(ICriticalNotifyCompletion).IsAssignableFrom(awaiterType);
Microsoft.AspNetCore.SignalR.Core (3)
src\aspnetcore\src\Shared\ObjectMethodExecutor\AwaitableInfo.cs (3)
18private static readonly MethodInfo ICriticalNotifyCompletion_UnsafeOnCompleted = typeof(ICriticalNotifyCompletion).GetMethod(nameof(ICriticalNotifyCompletion.UnsafeOnCompleted), Everything, new[] { typeof(Action) })!; 84var implementsICriticalNotifyCompletion = typeof(ICriticalNotifyCompletion).IsAssignableFrom(awaiterType);
Microsoft.CodeAnalysis (2)
InternalSpecialType.cs (2)
116/// Indicates that the type is <see cref="System.Runtime.CompilerServices.ICriticalNotifyCompletion"/> from the COR library. 119/// Check for this special type cannot be used to find the "canonical" definition of <see cref="System.Runtime.CompilerServices.ICriticalNotifyCompletion"/>
mscorlib (1)
parent\ref\mscorlib.cs (1)
551[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ICriticalNotifyCompletion))]
netstandard (1)
netstandard.cs (1)
1536[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ICriticalNotifyCompletion))]
System.Private.CoreLib (16)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
223public ICriticalNotifyCompletion? CriticalNotifier;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.cs (3)
74public static unsafe void UnsafeAwaitAwaiter<TAwaiter>(TAwaiter awaiter) where TAwaiter : ICriticalNotifyCompletion 100where TAwaiter : ICriticalNotifyCompletion 112where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncIteratorMethodBuilder.cs (1)
49where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilder.cs (1)
65where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (3)
91where TAwaiter : ICriticalNotifyCompletion 98where TAwaiter : ICriticalNotifyCompletion 110where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncValueTaskMethodBuilder.cs (1)
96where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncValueTaskMethodBuilderT.cs (1)
103where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (1)
71where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilder.cs (1)
98where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (2)
142where TAwaiter : ICriticalNotifyCompletion 149where TAwaiter : ICriticalNotifyCompletion
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskAsyncEnumerableExtensions.ToBlockingEnumerable.cs (1)
82public void Wait<TAwaiter>(TAwaiter awaiter) where TAwaiter : ICriticalNotifyCompletion
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
588[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ICriticalNotifyCompletion))]
System.Threading.Tasks (1)
System.Threading.Tasks.cs (1)
15[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ICriticalNotifyCompletion))]