724 references to ConfigureAwait
aspire (3)
Aspire.Confluent.Kafka (1)
Aspire.Dashboard (6)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (23)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Nats (1)
Aspire.Hosting.Testing (4)
Aspire.NATS.Net (1)
Aspire.Templates.Tests (1)
GenerateDocumentationAndConfigFiles (6)
InMemory.FunctionalTests (1)
Metrics (4)
Metrics.Legacy (4)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http.Connections (5)
Microsoft.AspNetCore.Http.Connections.Client (5)
Microsoft.AspNetCore.Mvc.Testing (2)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.SignalR.Client.Core (5)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Common (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.EditorFeatures (22)
Microsoft.CodeAnalysis.ExternalAccess.Debugger (1)
Microsoft.CodeAnalysis.Features (55)
EditAndContinue\EditSession.cs (7)
1035await LogDocumentChangesAsync(generation: null, cancellationToken).ConfigureAwait(false);
1049await LogDocumentChangesAsync(generation: null, cancellationToken).ConfigureAwait(false);
1079await LogDocumentChangesAsync(projectBaseline.Generation + 1, cancellationToken).ConfigureAwait(false);
1176await LogDeltaFilesAsync(fileLog, delta, projectBaseline.Generation, oldProject, newProject, cancellationToken).ConfigureAwait(false);
1193await fileLog.WriteDocumentChangeAsync(oldDocument, newDocument, updateId, generation, cancellationToken).ConfigureAwait(false);
1285cancellationToken).ConfigureAwait(false);
1292cancellationToken).ConfigureAwait(false);
SemanticSearch\QueryExecutionContext.cs (4)
70await InvokeAsync(project, compilation, entity: compilation, symbolEnumerationCancellationSource: symbolEnumerationCancellationSource, cancellationToken: cancellationToken).ConfigureAwait(false);
112await resultsObserver.ItemsCompletedAsync(1, cancellationToken).ConfigureAwait(false);
160await resultsObserver.OnDefinitionFoundAsync(definitionItem, cancellationToken).ConfigureAwait(false);
195await resultsObserver.OnUserCodeExceptionAsync(new UserCodeExceptionInfo(projectDisplay, e.Message, exceptionNameTaggedText, stackTraceTaggedText, span), cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.InteractiveHost (3)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (23)
Workspaces\LspWorkspaceManager.cs (12)
99await change(mutatingWorkspace, documentId).ConfigureAwait(false);
127await TryOpenDocumentsInMutatingWorkspaceAsync(uri).ConfigureAwait(false);
137workspace.TryOnDocumentOpenedAsync(documentId, documentText.Container, isCurrentContext: false, cancellationToken)).ConfigureAwait(false);
161await _lspMiscellaneousFilesWorkspaceProvider.TryRemoveMiscellaneousDocumentAsync(uri, removeFromMetadataWorkspace: true).ConfigureAwait(false);
172await TryCloseDocumentsInMutatingWorkspaceAsync(uri).ConfigureAwait(false);
190await workspace.TryOnDocumentClosedAsync(documentId, cancellationToken).ConfigureAwait(false);
191}).ConfigureAwait(false);
272await _lspMiscellaneousFilesWorkspaceProvider.TryRemoveMiscellaneousDocumentAsync(uri, removeFromMetadataWorkspace: false).ConfigureAwait(false);
373await TryOpenAndEditDocumentsInMutatingWorkspaceAsync(workspace).ConfigureAwait(false);
447documentId, sourceText.Container, isCurrentContext: false, cancellationToken).ConfigureAwait(false);
455await mutatingWorkspace.UpdateTextIfPresentAsync(documentId, sourceText, cancellationToken).ConfigureAwait(false);
456}).ConfigureAwait(false);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
Microsoft.CodeAnalysis.Remote.ServiceHub (17)
Microsoft.CodeAnalysis.Remote.Workspaces (18)
BrokeredServiceConnection.cs (7)
103await invocation(rental.Service, cancellationToken).ConfigureAwait(false);
136await invocation(rental.Service, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
170await invocation(rental.Service, scope.SolutionChecksum, cancellationToken).ConfigureAwait(false);
203await invocation(rental.Service, scope.SolutionChecksum, cancellationToken).ConfigureAwait(false);
238await invocation(rental.Service, scope.SolutionChecksum, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
276await invocation(rental.Service, scope.SolutionChecksum, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
313await invocation(rental.Service, scope1.SolutionChecksum, scope2.SolutionChecksum, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
Microsoft.CodeAnalysis.Threading.Package (3)
Microsoft.CodeAnalysis.Workspaces (41)
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (7)
70await PerformSearchInProjectSeriallyAsync(allSymbolsAndGroups, currentProject).ConfigureAwait(false);
90await PerformSearchInDocumentSeriallyAsync(symbols, document, symbolToGlobalAliases).ConfigureAwait(false);
116await PerformSearchInDocumentSeriallyWorkerAsync(symbol, group, state).ConfigureAwait(false);
124await DirectSymbolSearchAsync(symbol, group, state).ConfigureAwait(false);
130await InheritanceSymbolSearchSeriallyAsync(symbol, state).ConfigureAwait(false);
158await @this._progress.OnReferencesFoundAsync(converted, cancellationToken).ConfigureAwait(false);
196await _progress.OnReferencesFoundAsync([(candidateGroup, candidate, location)], cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CommonLanguageServerProtocol.Framework.Package (3)
Microsoft.DotNet.Helix.Client (1)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Console (6)
Microsoft.Extensions.AI.Evaluation.NLP (1)
Microsoft.Extensions.AI.Evaluation.Quality (3)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Safety (3)
Microsoft.Extensions.AI.Ollama (3)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.Caching.Abstractions (2)
Microsoft.Extensions.Caching.Hybrid (3)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Hosting (3)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Http (2)
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpClientLogger.cs (2)
118=> await LogResponseAsync(context, request, response, null, elapsed, cancellationToken).ConfigureAwait(false);
127=> await LogResponseAsync(context, request, response, exception, elapsed, cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.ServiceDiscovery (6)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.VisualBasic.Forms (2)
Microsoft.VisualStudio.LanguageServices (9)
Microsoft.VisualStudio.LanguageServices.CSharp (5)
Roslyn.Diagnostics.Analyzers (5)
Shared (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.Data.Common (6)
System.Formats.Tar (23)
System.IO.Compression (51)
System\IO\Compression\DeflateZLib\DeflateStream.cs (11)
224await WriteDeflaterOutputAsync(cancellationToken).ConfigureAwait(false);
234await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, compressedBytes), cancellationToken).ConfigureAwait(false);
674await WriteDeflaterOutputAsync(default).ConfigureAwait(false);
684await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, compressedBytes)).ConfigureAwait(false);
759await PurgeBuffersAsync().ConfigureAwait(false);
771await stream.DisposeAsync().ConfigureAwait(false);
846await WriteDeflaterOutputAsync(cancellationToken).ConfigureAwait(false);
852await WriteDeflaterOutputAsync(cancellationToken).ConfigureAwait(false);
874await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, compressedBytes), cancellationToken).ConfigureAwait(false);
943await _destination.WriteAsync(new ReadOnlyMemory<byte>(_arrayPoolBuffer, 0, bytesRead), _cancellationToken).ConfigureAwait(false);
1040await _destination.WriteAsync(new ReadOnlyMemory<byte>(_arrayPoolBuffer, 0, bytesRead), cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchive.Async.cs (10)
121await extraTempStream.DisposeAsync().ConfigureAwait(false);
128public async ValueTask DisposeAsync() => await DisposeAsyncCore().ConfigureAwait(false);
144await WriteFileAsync().ConfigureAwait(false);
160await _archiveStream.DisposeAsync().ConfigureAwait(false);
163await _backingStream.DisposeAsync().ConfigureAwait(false);
173await _archiveStream.DisposeAsync().ConfigureAwait(false);
255await TryReadZip64EndOfCentralDirectoryAsync(eocd, eocdStart, cancellationToken).ConfigureAwait(false);
386await WriteArchiveEpilogueAsync(plannedCentralDirectoryPosition, sizeOfCentralDirectory, archiveEpilogueRequiresUpdate, cancellationToken).ConfigureAwait(false);
411await Zip64EndOfCentralDirectoryRecord.WriteBlockAsync(_archiveStream, _entries.Count, startOfCentralDirectory, sizeOfCentralDirectory, cancellationToken).ConfigureAwait(false);
412await Zip64EndOfCentralDirectoryLocator.WriteBlockAsync(_archiveStream, zip64EOCDRecordStart, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.Async.cs (16)
82await _storedUncompressedData.DisposeAsync().ConfigureAwait(false);
128await _archive.ArchiveStream.WriteAsync(cdStaticHeader, cancellationToken).ConfigureAwait(false);
129await _archive.ArchiveStream.WriteAsync(_storedEntryNameBytes, cancellationToken).ConfigureAwait(false);
134await zip64ExtraField.WriteBlockAsync(_archive.ArchiveStream, cancellationToken).ConfigureAwait(false);
142await _archive.ArchiveStream.WriteAsync(_fileComment, cancellationToken).ConfigureAwait(false);
271await _archive.ArchiveStream.WriteAsync(lfStaticHeader, cancellationToken).ConfigureAwait(false);
272await _archive.ArchiveStream.WriteAsync(_storedEntryNameBytes, cancellationToken).ConfigureAwait(false);
277await zip64ExtraField.WriteBlockAsync(_archive.ArchiveStream, cancellationToken).ConfigureAwait(false);
303await _storedUncompressedData.DisposeAsync().ConfigureAwait(false);
323await _archive.ArchiveStream.WriteAsync(compressedBytes, cancellationToken).ConfigureAwait(false);
363await _archive.ArchiveStream.WriteAsync(writeBuffer.AsMemory(0, MetadataBufferLength), cancellationToken).ConfigureAwait(false);
369await _archive.ArchiveStream.WriteAsync(writeBuffer.AsMemory(0, CrcAndSizesBufferLength), cancellationToken).ConfigureAwait(false);
380await _archive.ArchiveStream.WriteAsync(writeBuffer.AsMemory(0, Zip64SizesBufferLength), cancellationToken).ConfigureAwait(false);
392await _archive.ArchiveStream.WriteAsync(writeBuffer.AsMemory(0, Zip64DataDescriptorCrcAndSizesBufferLength), cancellationToken).ConfigureAwait(false);
408await _storedUncompressedData.DisposeAsync().ConfigureAwait(false);
419await _outstandingWriteStream.DisposeAsync().ConfigureAwait(false);
System.IO.Compression.Brotli (4)
System.IO.Compression.ZipFile (1)
System.IO.Pipelines (5)
System.Net.Http (83)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (17)
123await _stream.DisposeAsync().ConfigureAwait(false);
172await FlushSendBufferAsync(endStream: _request.Content == null, _requestBodyCancellationSource.Token).ConfigureAwait(false);
248await DrainContentLength0Frames(_requestBodyCancellationSource.Token).ConfigureAwait(false);
380await DisposeAsync().ConfigureAwait(false);
408await ReadHeadersAsync(payloadLength, cancellationToken).ConfigureAwait(false);
446await timer.DisposeAsync().ConfigureAwait(false);
479await FlushSendBufferAsync(endStream: true, cancellationToken).ConfigureAwait(false);
524await _stream.WriteAsync(_sendBuffer.ActiveMemory, cancellationToken).ConfigureAwait(false);
525await _stream.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
534await _stream.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
543await _stream.WriteAsync(_sendBuffer.ActiveMemory, cancellationToken).ConfigureAwait(false);
544await _stream.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
571await ReadHeadersAsync(payloadLength, cancellationToken).ConfigureAwait(false);
909await SkipUnknownPayloadAsync(payloadLength, cancellationToken).ConfigureAwait(false);
1372await ReadHeadersAsync(payloadLength, cancellationToken).ConfigureAwait(false);
1463await stream.DisposeAsync().ConfigureAwait(false);
1467await base.DisposeAsync().ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (19)
563await FlushAsync(async).ConfigureAwait(false);
575await SendRequestContentAsync(request, CreateRequestContentStream(request), async, cancellationToken).ConfigureAwait(false);
582await FlushAsync(async).ConfigureAwait(false);
647await InitialFillAsync(async).ConfigureAwait(false);
669await FillForHeadersAsync(async).ConfigureAwait(false);
705await FillForHeadersAsync(async).ConfigureAwait(false);
711await FillForHeadersAsync(async).ConfigureAwait(false);
718await FillForHeadersAsync(async).ConfigureAwait(false);
989await FlushAsync(async).ConfigureAwait(false);
1013await SendRequestContentAsync(request, stream, async, cancellationToken).ConfigureAwait(false);
1454await flushTask.ConfigureAwait(false);
1462await WriteToStreamAsync(source, async: true).ConfigureAwait(false);
1516await FlushAsync(async).ConfigureAwait(false);
1517await WriteToStreamAsync(source, async).ConfigureAwait(false);
1681await FillAsync(async).ConfigureAwait(false);
1902await CopyFromBufferAsync(destination, async, remaining, cancellationToken).ConfigureAwait(false);
1928await CopyFromBufferAsync(destination, async, remaining, cancellationToken).ConfigureAwait(false);
1951await FillAsync(async).ConfigureAwait(false);
1954await CopyFromBufferAsync(destination, async, remaining, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (12)
42await EstablishSocks5TunnelAsync(stream, host, port, credentials, async).ConfigureAwait(false);
46await EstablishSocks4TunnelAsync(stream, isVersion4a: true, host, port, credentials, async, cancellationToken).ConfigureAwait(false);
50await EstablishSocks4TunnelAsync(stream, isVersion4a: false, host, port, credentials, async, cancellationToken).ConfigureAwait(false);
89await WriteAsync(stream, buffer.AsMemory(0, buffer[1] + 2), async).ConfigureAwait(false);
96await ReadToFillAsync(stream, buffer.AsMemory(0, 2), async).ConfigureAwait(false);
126await WriteAsync(stream, buffer.AsMemory(0, 3 + usernameLength + passwordLength), async).ConfigureAwait(false);
133await ReadToFillAsync(stream, buffer.AsMemory(0, 2), async).ConfigureAwait(false);
184await WriteAsync(stream, buffer.AsMemory(0, addressLength + 6), async).ConfigureAwait(false);
191await ReadToFillAsync(stream, buffer.AsMemory(0, 5), async).ConfigureAwait(false);
204await ReadToFillAsync(stream, buffer.AsMemory(0, bytesToSkip), async).ConfigureAwait(false);
294await WriteAsync(stream, buffer.AsMemory(0, totalLength), async).ConfigureAwait(false);
300await ReadToFillAsync(stream, buffer.AsMemory(0, 8), async).ConfigureAwait(false);
System.Net.Http.Json (1)
System.Net.HttpListener (1)
System.Net.Mail (11)
System.Net.Quic (18)
System.Net.Requests (2)
System.Net.Security (15)
System\Net\Security\SslStream.IO.cs (9)
230await TIOAdapter.WriteAsync(InnerStream, token.AsMemory(), cancellationToken).ConfigureAwait(false);
254await TIOAdapter.WriteAsync(InnerStream, token.AsMemory(), cancellationToken).ConfigureAwait(false);
306await TIOAdapter.WriteAsync(InnerStream, new ReadOnlyMemory<byte>(token.Payload!, 0, token.Size), cancellationToken).ConfigureAwait(false);
350await TIOAdapter.WriteAsync(InnerStream, payload, cancellationToken).ConfigureAwait(false);
618await WriteSingleChunk<TIOAdapter>(buffer.Slice(0, chunkBytes), cancellationToken).ConfigureAwait(false);
682await WriteSingleChunk<TIOAdapter>(buffer, cancellationToken).ConfigureAwait(false);
686await TIOAdapter.WriteAsync(InnerStream, token.AsMemory(), cancellationToken).ConfigureAwait(false);
703await writeTask.ConfigureAwait(false);
980await t.ConfigureAwait(false);
System.Net.ServerSentEvents (1)
System.Net.Sockets (4)
System.Net.WebClient (5)
System.Net.WebSockets (20)
System\Net\WebSockets\ManagedWebSocket.cs (19)
420await SendCloseFrameAsync(closeStatus, statusDescription, cancellationToken).ConfigureAwait(false);
561await writeTask.ConfigureAwait(false);
603await _stream.WriteAsync(new ReadOnlyMemory<byte>(_sendBuffer, 0, sendBytes), cancellationToken).ConfigureAwait(false);
823await EnsureBufferContainsAsync(2, cancellationToken).ConfigureAwait(false);
835await EnsureBufferContainsAsync(minNeeded, cancellationToken).ConfigureAwait(false);
842await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.Faulted, headerErrorMessage).ConfigureAwait(false);
865await HandleReceivedPingPongAsync(header, cancellationToken).ConfigureAwait(false);
870await HandleReceivedCloseAsync(header, cancellationToken).ConfigureAwait(false);
976await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.InvalidPayloadData, WebSocketError.Faulted).ConfigureAwait(false);
1081await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.Faulted).ConfigureAwait(false);
1087await EnsureBufferContainsAsync((int)header.PayloadLength, cancellationToken).ConfigureAwait(false);
1098await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.Faulted).ConfigureAwait(false);
1109await CloseWithReceiveErrorAndThrowAsync(WebSocketCloseStatus.ProtocolError, WebSocketError.Faulted, innerException: exc).ConfigureAwait(false);
1121await WaitForServerToCloseConnectionAsync(cancellationToken).ConfigureAwait(false);
1172await EnsureBufferContainsAsync((int)header.PayloadLength, cancellationToken).ConfigureAwait(false);
1195cancellationToken).ConfigureAwait(false);
1421await SendCloseFrameAsync(closeStatus, statusDescription, cancellationToken).ConfigureAwait(false);
1532await SendFrameAsync(MessageOpcode.Close, endOfMessage: true, disableCompression: true, new Memory<byte>(buffer, 0, count), cancellationToken).ConfigureAwait(false);
1560await WaitForServerToCloseConnectionAsync(cancellationToken).ConfigureAwait(false);
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (10)
250await _stream.DisposeAsync().ConfigureAwait(false);
322await FlushWriteAsync(cancellationToken).ConfigureAwait(false);
425await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
705await FlushWriteAsync(cancellationToken).ConfigureAwait(false); // no Begin-End read version for Flush. Use Async.
1098await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
1121await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, totalUserBytes), cancellationToken).ConfigureAwait(false);
1126await _stream.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
1131await _stream.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
1299await destination.WriteAsync(new ReadOnlyMemory<byte>(_buffer, _readPos, readBytes), cancellationToken).ConfigureAwait(false);
1305await FlushWriteAsync(cancellationToken).ConfigureAwait(false);
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (4)
860await RandomAccess.WriteAtOffsetAsync(fileHandle, bytes, fileOffset, cancellationToken).ConfigureAwait(false);
1288await RandomAccess.WriteAtOffsetAsync(sfh, bytes, 0, cancellationToken).ConfigureAwait(false);
1574await RandomAccess.WriteAtOffsetAsync(fileHandle, preamble, fileOffset, cancellationToken).ConfigureAwait(false);
1600await RandomAccess.WriteAtOffsetAsync(fileHandle, toStore, fileOffset, cancellationToken).ConfigureAwait(false);
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (8)
103await _strategy.DisposeAsync().ConfigureAwait(false);
433await _strategy.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
665await _strategy.WriteAsync(source, cancellationToken).ConfigureAwait(false);
714await _strategy.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
722await _strategy.WriteAsync(source, cancellationToken).ConfigureAwait(false);
802await _strategy.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
855await destination.WriteAsync(new ReadOnlyMemory<byte>(_buffer, _readPos, readBytes), cancellationToken).ConfigureAwait(false);
861await _strategy.WriteAsync(new ReadOnlyMemory<byte>(_buffer, 0, _writePos), cancellationToken).ConfigureAwait(false);
System.Private.Xml (9)
System.Security.Cryptography (9)
System\Security\Cryptography\CryptoStream.cs (9)
149await _stream.WriteAsync(new ReadOnlyMemory<byte>(finalBytes), cancellationToken).ConfigureAwait(false);
162await innerCryptoStream.FlushFinalBlockAsync(useAsync, cancellationToken).ConfigureAwait(false);
482await WriteAsyncCore(buffer, cancellationToken, useAsync: true).ConfigureAwait(false);
573await _stream.WriteAsync(new ReadOnlyMemory<byte>(_outputBuffer, 0, numOutputBytes), cancellationToken).ConfigureAwait(false);
602await _stream.WriteAsync(new ReadOnlyMemory<byte>(tempOutputBuffer, 0, numOutputBytes), cancellationToken).ConfigureAwait(false);
629await _stream.WriteAsync(new ReadOnlyMemory<byte>(_outputBuffer, 0, numOutputBytes), cancellationToken).ConfigureAwait(false);
731await destination.WriteAsync(rentedBuffer.AsMemory(0, bytesRead), cancellationToken).ConfigureAwait(false);
814await FlushFinalBlockAsync(useAsync: true, default).ConfigureAwait(false);
819await _stream.DisposeAsync().ConfigureAwait(false);
System.Text.Json (6)
System.Threading.RateLimiting (4)
System.Windows.Forms (1)
Test.Utilities (4)
Text.Analyzers (5)