8 references to TrySetResult
System.Net.Quic (8)
System\Net\Quic\Internal\ValueTaskSource.cs (2)
39
/// Returns <c>true</c> is this task source was completed, i.e. <see cref="
TrySetResult
"/> or <see cref="TrySetException(Exception)"/> was called.
43
/// Returns <c>true</c> is this task source was completed successfully, i.e. <see cref="
TrySetResult
"/> was called and set the result.
System\Net\Quic\QuicConnection.cs (1)
654
_connectedTcs.
TrySetResult
();
System\Net\Quic\QuicListener.cs (1)
354
_shutdownTcs.
TrySetResult
();
System\Net\Quic\QuicStream.cs (4)
240
_startedTcs.
TrySetResult
();
546
_startedTcs.
TrySetResult
();
646
_shutdownTcs.
TrySetResult
();
651
_startedTcs.
TrySetResult
();