16 references to SetException
Microsoft.AspNetCore.Server.HttpSys (1)
AsyncAcceptContext.cs (1)
112_mrvts.SetException(exception);
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\ServerInfrastructure\ManualResetValueTaskSource.cs (1)
19public void SetException(Exception error) => _core.SetException(error);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\ServerInfrastructure\ManualResetValueTaskSource.cs (1)
19public void SetException(Exception error) => _core.SetException(error);
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (3)
TlsAwaitable.cs (3)
77_source.SetException(new OperationCanceledException()); 109_source.SetException(exception); 128_source.SetException(new OperationCanceledException());
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\CreditWaiter.cs (2)
57((CreditWaiter)s!)._source.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(new OperationCanceledException(cancellationToken))); 83_source.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(nameof(CreditManager), SR.net_http_disposed_while_in_use)));
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1469thisRef._waitSource.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(
System.Net.Quic (4)
src\runtime\src\libraries\Common\src\System\Net\StreamBuffer.cs (1)
327_waitSource.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(new OperationCanceledException(cancellationToken)));
System\Net\Quic\Internal\ResettableValueTaskSource.cs (2)
181_valueTaskSource.SetException(exception); 274_valueTaskSource.SetException(exception);
System\Net\Quic\Internal\ValueTaskSource.cs (1)
120_valueTaskSource.SetException(exception);
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.ThreadPoolValueTaskSource.cs (1)
149_source.SetException(exception);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (1)
282_valueTaskSource.SetException(error);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
261_mrvtsc.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(new OperationCanceledException(cancellationToken)));