1474 references to ConfigureAwait
Aspire.Azure.Npgsql (1)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Dashboard (8)
Aspire.Hosting (14)
Aspire.Hosting.Azure (3)
Aspire.Hosting.MySql (1)
Aspire.Hosting.Oracle (1)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.Qdrant (1)
Aspire.Hosting.RabbitMQ (1)
Aspire.Hosting.SqlServer (1)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (9)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (8)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.SignalR.Client.Core (23)
Microsoft.AspNetCore.SignalR.Core (8)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.Build (4)
Microsoft.CodeAnalysis (31)
DiagnosticAnalyzer\AnalyzerDriver.cs (13)
1596var optionalEvent = await CompilationEventQueue.TryDequeueAsync(cancellationToken).ConfigureAwait(false);
1635EventProcessedState eventProcessedState = await TryProcessEventCoreAsync(e, analysisScope, cancellationToken).ConfigureAwait(false);
1724return await TryProcessSymbolDeclaredAsync(symbolEvent, analysisScope, cancellationToken).ConfigureAwait(false);
1762await GetPerSymbolAnalyzerActionsAsync(symbol, analysisScope, cancellationToken).ConfigureAwait(false) :
2038var analyzerActions = await analyzerManager.GetAnalyzerActionsAsync(analyzer, analyzerExecutor, cancellationToken).ConfigureAwait(false);
2123var analyzerActions = await GetPerSymbolAnalyzerActionsAsync(symbol, analyzer, analysisScope.OriginalFilterFile?.SourceTree, analysisScope.OriginalFilterSpan, cancellationToken).ConfigureAwait(false);
2155return await getAllActionsAsync(this, symbol, analyzer, filterTree, filterSpan, cancellationToken).ConfigureAwait(false);
2163var allActions = await getAllActionsAsync(this, symbol, analyzer, filterTree, filterSpan, cancellationToken).ConfigureAwait(false);
2169var inheritedActions = await getInheritedActionsAsync(driver, symbol, analyzer, filterTree, filterSpan, cancellationToken).ConfigureAwait(false);
2172AnalyzerActions myActions = await getSymbolActionsCoreAsync(driver, symbol, analyzer, filterTree, filterSpan, cancellationToken).ConfigureAwait(false);
2187var containerActions = await driver.GetPerSymbolAnalyzerActionsAsync(symbol.ContainingSymbol, analyzer, filterTree, filterSpan, cancellationToken).ConfigureAwait(false);
2219return await driver.AnalyzerManager.GetPerSymbolAnalyzerActionsAsync(symbol, isGeneratedCodeSymbol, filterTree, filterSpan, analyzer, driver.AnalyzerExecutor, cancellationToken).ConfigureAwait(false);
2364var analyzerActions = await AnalyzerManager.GetAnalyzerActionsAsync(analyzer, AnalyzerExecutor, cancellationToken).ConfigureAwait(false);
DiagnosticAnalyzer\AnalyzerManager.cs (9)
64return await GetCompilationAnalysisScopeCoreAsync(sessionScope, analyzerExecutor, analyzerExecutionContext, cancellationToken).ConfigureAwait(false);
87return await GetCompilationAnalysisScopeCoreAsync(sessionScope, analyzerExecutor, analyzerExecutionContext, cancellationToken).ConfigureAwait(false);
137return await GetSessionAnalysisScopeCoreAsync(analyzerExecutor, analyzerExecutionContext, cancellationToken).ConfigureAwait(false);
158return await GetSessionAnalysisScopeCoreAsync(analyzerExecutor, analyzerExecutionContext, cancellationToken).ConfigureAwait(false);
170var sessionScope = await GetSessionAnalysisScopeAsync(analyzer, analyzerExecutor, cancellationToken).ConfigureAwait(false);
173var compilationScope = await GetCompilationAnalysisScopeAsync(sessionScope, analyzerExecutor, cancellationToken).ConfigureAwait(false);
194var analyzerActions = await GetAnalyzerActionsAsync(analyzer, analyzerExecutor, cancellationToken).ConfigureAwait(false);
235var sessionScope = await GetSessionAnalysisScopeAsync(analyzer, analyzerExecutor, cancellationToken).ConfigureAwait(false);
245var sessionScope = await GetSessionAnalysisScopeAsync(analyzer, analyzerExecutor, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Analyzers (12)
Microsoft.CodeAnalysis.CodeStyle (12)
Microsoft.CodeAnalysis.CodeStyle.Fixes (178)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Features (26)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.EditorFeatures (38)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (9)
Remote\RazorRemoteHostClient.cs (8)
43return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
49return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
57return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
63return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
71return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
77return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
85return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
91return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
Microsoft.CodeAnalysis.Features (171)
EditAndContinue\CommittedSolution.cs (6)
206var sourceGeneratedDocument = await solution.GetSourceGeneratedDocumentAsync(documentId, cancellationToken).ConfigureAwait(false);
247var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
346? await TryGetMatchingSourceTextAsync(_debuggingSession.SessionLog, sourceText, document.FilePath, currentDocument, _debuggingSession.SourceTextProvider, requiredChecksum, checksumAlgorithm, cancellationToken).ConfigureAwait(false)
362var currentDocumentSourceText = await currentDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
369var text = await sourceTextProvider.TryGetMatchingSourceTextAsync(filePath, requiredChecksum, checksumAlgorithm, cancellationToken).ConfigureAwait(false);
417var sourceText = await documentState.GetTextAsync(cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (24)
159var availability = await DebuggingSession.DebuggerService.GetAvailabilityAsync(mvid, cancellationToken).ConfigureAwait(false);
193var oldDocument = await oldProject.GetDocumentAsync(documentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
194var newDocument = await newProject.GetDocumentAsync(documentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
240var capabilities = await DebuggingSession.DebuggerService.GetCapabilitiesAsync(cancellationToken).ConfigureAwait(false);
254var debugInfos = await DebuggingSession.DebuggerService.GetActiveStatementsAsync(cancellationToken).ConfigureAwait(false);
283return oldDocument != newDocument && !await ContentEqualsAsync(oldDocument, newDocument, cancellationToken).ConfigureAwait(false);
301if (oldProject == null || await HasChangedOrAddedDocumentsAsync(oldProject, newProject, changedOrAddedDocuments: null, cancellationToken).ConfigureAwait(false))
337var oldSource = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
338var newSource = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
362if (await ContentEqualsAsync(oldProject.GetRequiredDocument(documentId), document, cancellationToken).ConfigureAwait(false))
402if (!await ContentEqualsAsync(oldProject.GetRequiredAdditionalDocument(documentId), document, cancellationToken).ConfigureAwait(false))
411if (!await ContentEqualsAsync(oldProject.GetRequiredAnalyzerConfigDocument(documentId), document, cancellationToken).ConfigureAwait(false))
434if (!await HasChangedOrAddedDocumentsAsync(oldProject, newProject, changedOrAddedDocuments, cancellationToken).ConfigureAwait(false))
439var oldSourceGeneratedDocumentStates = await GetSourceGeneratedDocumentStatesAsync(log, oldProject, diagnostics, cancellationToken).ConfigureAwait(false);
442var newSourceGeneratedDocumentStates = await GetSourceGeneratedDocumentStatesAsync(log, newProject, diagnostics, cancellationToken).ConfigureAwait(false);
523var oldSourceGeneratedDocumentStates = await GetSourceGeneratedDocumentStatesAsync(log, oldProject, diagnostics: null, cancellationToken).ConfigureAwait(false);
526var newSourceGeneratedDocumentStates = await GetSourceGeneratedDocumentStatesAsync(log, newProject, diagnostics: null, cancellationToken).ConfigureAwait(false);
664var oldDocument = await oldProject.GetDocumentAsync(analysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
667await baseActiveStatements.GetOldActiveStatementsAsync(analyzer, oldDocument, cancellationToken).ConfigureAwait(false);
1057var projectChanges = await GetProjectChangesAsync(oldActiveStatementsMap, oldCompilation, newCompilation, oldProject, newProject, changedDocumentAnalyses, cancellationToken).ConfigureAwait(false);
1187var oldDocument = await oldProject.GetDocumentAsync(changedDocumentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
1188var newDocument = await newProject.GetDocumentAsync(changedDocumentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
1258async (stream, cancellationToken) => await oldCompilationOutputs.TryCopyAssemblyToAsync(stream, cancellationToken).ConfigureAwait(false),
1265async (stream, cancellationToken) => await oldCompilationOutputs.TryCopyPdbToAsync(stream, cancellationToken).ConfigureAwait(false),
Microsoft.CodeAnalysis.InteractiveHost (11)
Microsoft.CodeAnalysis.LanguageServer.Protocol (44)
Microsoft.CodeAnalysis.Remote.ServiceHub (36)
Services\CodeLensReferences\RemoteCodeLensReferencesService.cs (5)
30var document = await solution.GetDocumentAsync(documentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
49var syntaxNode = await TryFindNodeAsync(solution, documentId, textSpan, cancellationToken).ConfigureAwait(false);
72var syntaxNode = await TryFindNodeAsync(solution, documentId, textSpan, cancellationToken).ConfigureAwait(false);
90var syntaxNode = await TryFindNodeAsync(solution, documentId, textSpan, cancellationToken).ConfigureAwait(false);
110var syntaxNode = await TryFindNodeAsync(solution, documentId, textSpan, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Workspaces (68)
AbstractAssetProvider.cs (12)
34var solutionCompilationChecksums = await GetAssetAsync<SolutionCompilationStateChecksums>(AssetPathKind.SolutionCompilationStateChecksums, solutionChecksum, cancellationToken).ConfigureAwait(false);
35var solutionChecksums = await GetAssetAsync<SolutionStateChecksums>(AssetPathKind.SolutionStateChecksums, solutionCompilationChecksums.SolutionState, cancellationToken).ConfigureAwait(false);
37var solutionAttributes = await GetAssetAsync<SolutionInfo.SolutionAttributes>(AssetPathKind.SolutionAttributes, solutionChecksums.Attributes, cancellationToken).ConfigureAwait(false);
38await GetAssetAsync<SourceGeneratorExecutionVersionMap>(AssetPathKind.SolutionSourceGeneratorExecutionVersionMap, solutionCompilationChecksums.SourceGeneratorExecutionVersionMap, cancellationToken).ConfigureAwait(false);
58useAsync: true, analyzerReference, solutionServices, cancellationToken).ConfigureAwait(false);
60var fallbackAnalyzerOptions = await GetAssetAsync<ImmutableDictionary<string, StructuredAnalyzerConfigOptions>>(AssetPathKind.SolutionFallbackAnalyzerOptions, solutionChecksums.FallbackAnalyzerOptions, cancellationToken).ConfigureAwait(false);
82var attributes = await GetAssetAsync<ProjectInfo.ProjectAttributes>(new(AssetPathKind.ProjectAttributes, projectId), projectChecksums.Info, cancellationToken).ConfigureAwait(false);
86await GetAssetAsync<CompilationOptions>(new(AssetPathKind.ProjectCompilationOptions, projectId), projectChecksums.CompilationOptions, cancellationToken).ConfigureAwait(false));
111await parseOptionsTask.ConfigureAwait(false),
115await isolatedAnalyzerReferencesTask.ConfigureAwait(false),
166var attributes = await GetAssetAsync<DocumentInfo.DocumentAttributes>(new(AssetPathKind.DocumentAttributes, documentId), attributeChecksum, cancellationToken).ConfigureAwait(false);
167var serializableSourceText = await GetAssetAsync<SerializableSourceText>(new(AssetPathKind.DocumentText, documentId), textChecksum, cancellationToken).ConfigureAwait(false);
BrokeredServiceConnection.cs (30)
90var proxyRental = await _serviceBrokerClient.GetProxyAsync<TService>(_serviceDescriptor, options, cancellationToken).ConfigureAwait(false);
102using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
117using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
118return await invocation(rental.Service, cancellationToken).ConfigureAwait(false);
135using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
152using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
153return await invocation(rental.Service, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
168using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, cancellationToken).ConfigureAwait(false);
169using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
184using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, cancellationToken).ConfigureAwait(false);
185using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
186return await invocation(rental.Service, scope.SolutionChecksum, cancellationToken).ConfigureAwait(false);
201using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, projectId, cancellationToken).ConfigureAwait(false);
202using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
217using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, projectId, cancellationToken).ConfigureAwait(false);
218using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
219return await invocation(rental.Service, scope.SolutionChecksum, cancellationToken).ConfigureAwait(false);
236using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, cancellationToken).ConfigureAwait(false);
237using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
255using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, cancellationToken).ConfigureAwait(false);
256using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
257return await invocation(rental.Service, scope.SolutionChecksum, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
274using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, projectId, cancellationToken).ConfigureAwait(false);
275using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
293using var scope = await _solutionAssetStorage.StoreAssetsAsync(compilationState, projectId, cancellationToken).ConfigureAwait(false);
294using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
295return await invocation(rental.Service, scope.SolutionChecksum, _callbackHandle.Id, cancellationToken).ConfigureAwait(false);
310using var scope1 = await _solutionAssetStorage.StoreAssetsAsync(compilationState1, cancellationToken).ConfigureAwait(false);
311using var scope2 = await _solutionAssetStorage.StoreAssetsAsync(compilationState2, cancellationToken).ConfigureAwait(false);
312using var rental = await RentServiceAsync(cancellationToken).ConfigureAwait(false);
ExternalAccess\Pythia\Api\PythiaRemoteHostClient.cs (8)
43return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
49return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
57return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
63return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
71return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
77return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
85return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
91return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
ExternalAccess\UnitTesting\Api\UnitTestingRemoteHostClient.cs (8)
43return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
49return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
57return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
63return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
71return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
77return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
85return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
91return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Threading.Package (10)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
Microsoft.CodeAnalysis.Workspaces (281)
Editing\ImportAdder.cs (9)
20var root = await document.GetRequiredSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
26var root = await document.GetRequiredSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
34=> await AddImportsFromSyntaxesAsync(document, await GetSpansAsync(document, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
46=> await AddImportsFromSyntaxesAsync(document, await GetSpansAsync(document, annotation, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
63var addImportOptions = await document.GetAddImportPlacementOptionsAsync(cancellationToken).ConfigureAwait(false);
71=> await AddImportsFromSyntaxesAsync(document, await GetSpansAsync(document, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
77=> await AddImportsFromSyntaxesAsync(document, await GetSpansAsync(document, annotation, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
89=> await AddImportsFromSymbolAnnotationAsync(document, await GetSpansAsync(document, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
95=> await AddImportsFromSymbolAnnotationAsync(document, await GetSpansAsync(document, annotation, cancellationToken).ConfigureAwait(false), options, cancellationToken).ConfigureAwait(false);
Remote\RemoteHostClient.cs (14)
66return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
75return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
87return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
97return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
118return await connection.TryInvokeAsync(compilationState, invocation, cancellationToken).ConfigureAwait(false);
128return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
146return await connection.TryInvokeAsync(project, invocation, cancellationToken).ConfigureAwait(false);
157return await connection.TryInvokeAsync(compilationState, projectId, invocation, cancellationToken).ConfigureAwait(false);
173return await connection.TryInvokeAsync(project, invocation, cancellationToken).ConfigureAwait(false);
186return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
197return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
216return await connection.TryInvokeAsync(project, invocation, cancellationToken).ConfigureAwait(false);
233return await connection.TryInvokeAsync(project, invocation, cancellationToken).ConfigureAwait(false);
246return await connection.TryInvokeAsync(solution1, solution2, invocation, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (9)
Microsoft.DotNet.Helix.Client (47)
generated-code\Aggregate.cs (11)
216using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
311using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
416using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
528using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
635using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
777using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
871using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
946using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
1063using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
1183using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
1264using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false))
Microsoft.DotNet.Internal.SymbolHelper (1)
Microsoft.Extensions.AI.Evaluation (3)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Evaluation.Quality (10)
Microsoft.Extensions.AI.Evaluation.Reporting (4)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.OpenAI (3)
Microsoft.Extensions.Caching.Hybrid (6)
Microsoft.Extensions.Caching.StackExchangeRedis (4)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Http.Diagnostics (8)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Http.Resilience (5)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Options.Contextual.Tests (1)
Microsoft.ML.Data (1)
Microsoft.ML.Tokenizers (12)
Microsoft.VisualBasic.Forms (1)
Microsoft.VisualBasic.Forms.Tests (1)
Microsoft.VisualStudio.LanguageServices (44)
ValueTracking\ValueTrackingCommandHandler.cs (5)
136solution, child, children: [], toolWindow.ViewModel, _glyphService, valueTrackingService, _globalOptions, _threadingContext, _listener, _threadOperationExecutor, cancellationToken).ConfigureAwait(false);
146solution, child, children: [], toolWindow.ViewModel, _glyphService, valueTrackingService, _globalOptions, _threadingContext, _listener, _threadOperationExecutor, cancellationToken).ConfigureAwait(false);
151solution, parent, childItems.ToImmutable(), toolWindow.ViewModel, _glyphService, valueTrackingService, _globalOptions, _threadingContext, _listener, _threadOperationExecutor, cancellationToken).ConfigureAwait(false);
169var roslynPackage = await RoslynPackage.GetOrLoadAsync(_threadingContext, _serviceProvider, cancellationToken).ConfigureAwait(false);
181var roslynPackage = await RoslynPackage.GetOrLoadAsync(_threadingContext, _serviceProvider, cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices.DevKit (2)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.Xaml (9)
Roslyn.VisualStudio.DiagnosticsWindow (1)
Roslyn.VisualStudio.Next.UnitTests (1)
Shared (3)
System.Diagnostics.Process (1)
System.Formats.Tar (12)
System.IO.Compression (11)
System\IO\Compression\ZipBlocks.Async.cs (6)
63int bytesRead = await stream.ReadAtLeastAsync(blockContents, blockContents.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
88int bytesRead = await stream.ReadAtLeastAsync(blockContents, blockContents.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
151int bytesRead = await stream.ReadAtLeastAsync(blockBytes, blockBytes.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
156bytesRead = await stream.ReadAtLeastAsync(blockBytes, blockBytes.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
203int realBytesRead = await furtherReads.ReadAtLeastAsync(collatedHeader.AsMemory(remainingBufferLength..), bytesToRead, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
248int bytesRead = await stream.ReadAtLeastAsync(blockContents, blockContents.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
System.IO.Compression.Brotli (1)
System.IO.Pipelines (11)
System.IO.Pipes (3)
System.Net.Http (92)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (6)
241HttpResponseMessage response = await InnerSendAsync(request, async, isProxyAuth, doRequestAuth, pool, cancellationToken).ConfigureAwait(false);
255if (await TrySetDigestAuthToken(request, challenge.Credential, digestResponse, isProxyAuth).ConfigureAwait(false))
258response = await InnerSendAsync(request, async, isProxyAuth, doRequestAuth, pool, cancellationToken).ConfigureAwait(false);
265await TrySetDigestAuthToken(request, challenge.Credential, digestResponse, isProxyAuth).ConfigureAwait(false))
268response = await InnerSendAsync(request, async, isProxyAuth, doRequestAuth, pool, cancellationToken).ConfigureAwait(false);
300response = await InnerSendAsync(request, async, isProxyAuth, doRequestAuth, pool, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (15)
419response = await TrySendUsingHttp3Async(request, cancellationToken).ConfigureAwait(false);
444connection = await http2ConnectionWaiter.WaitForConnectionAsync(request, this, async, cancellationToken).ConfigureAwait(false);
452await connection.InitialSettingsReceived.WaitWithCancellationAsync(cancellationToken).ConfigureAwait(false);
476connection = await http11ConnectionWaiter.WaitForConnectionAsync(request, this, async, cancellationToken).ConfigureAwait(false);
569stream = await ConnectToTcpHostAsync(_originAuthority.IdnHost, _originAuthority.Port, request, async, cancellationToken).ConfigureAwait(false);
574stream = await ConnectHelper.EstablishSslConnectionAsync(_sslOptionsProxy, request, async, stream, cancellationToken).ConfigureAwait(false);
579stream = await ConnectToTcpHostAsync(_proxyUri!.IdnHost, _proxyUri.Port, request, async, cancellationToken).ConfigureAwait(false);
584stream = await ConnectHelper.EstablishSslConnectionAsync(_sslOptionsProxy, request, async, stream, cancellationToken).ConfigureAwait(false);
590stream = await EstablishProxyTunnelAsync(async, cancellationToken).ConfigureAwait(false);
601stream = await EstablishSocksTunnel(request, async, cancellationToken).ConfigureAwait(false);
614sslStream = await ConnectHelper.EstablishSslConnectionAsync(GetSslOptionsForRequest(request), request, async, stream, cancellationToken).ConfigureAwait(false);
667stream = await streamTask.ConfigureAwait(false) ?? throw new HttpRequestException(SR.net_http_null_from_connect_callback);
744newStream = await streamTask.ConfigureAwait(false);
777HttpResponseMessage tunnelResponse = await _poolManager.SendProxyConnectAsync(tunnelRequest, _proxyUri!, async, cancellationToken).ConfigureAwait(false);
800Stream stream = await ConnectToTcpHostAsync(_proxyUri.IdnHost, _proxyUri.Port, request, async, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (4)
265connection = await CreateHttp11ConnectionAsync(queueItem.Request, true, cts.Token).ConfigureAwait(false);
296(Stream stream, TransportContext? transportContext, Activity? activity, IPEndPoint? remoteEndPoint) = await ConnectAsync(request, async, cancellationToken).ConfigureAwait(false);
297return await ConstructHttp11ConnectionAsync(async, stream, transportContext, request, activity, remoteEndPoint, cancellationToken).ConfigureAwait(false);
302Stream newStream = await ApplyPlaintextFilterAsync(async, stream, HttpVersion.Version11, request, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (5)
187(Stream stream, TransportContext? transportContext, Activity? activity, IPEndPoint? remoteEndPoint) = await ConnectAsync(queueItem.Request, true, cts.Token).ConfigureAwait(false);
204connection = await ConstructHttp2ConnectionAsync(stream, queueItem.Request, activity, remoteEndPoint, cts.Token).ConfigureAwait(false);
216connection = await ConstructHttp2ConnectionAsync(stream, queueItem.Request, activity, remoteEndPoint, cts.Token).ConfigureAwait(false);
248stream = await ApplyPlaintextFilterAsync(async: true, stream, HttpVersion.Version20, request, cancellationToken).ConfigureAwait(false);
347http11Connection = await ConstructHttp11ConnectionAsync(true, stream, transportContext, request, activity, remoteEndPoint, cancellationToken).ConfigureAwait(false);
System.Net.Http.Json (14)
System\Net\Http\Json\HttpContentJsonExtensions.cs (8)
86using (Stream contentStream = await GetContentStreamAsync(content, cancellationToken).ConfigureAwait(false))
88return await JsonSerializer.DeserializeAsync(contentStream, type, options ?? JsonSerializerOptions.Web, cancellationToken).ConfigureAwait(false);
96using (Stream contentStream = await GetContentStreamAsync(content, cancellationToken).ConfigureAwait(false))
98return await JsonSerializer.DeserializeAsync<T>(contentStream, options ?? JsonSerializerOptions.Web, cancellationToken).ConfigureAwait(false);
118using (Stream contentStream = await GetContentStreamAsync(content, cancellationToken).ConfigureAwait(false))
120return await JsonSerializer.DeserializeAsync(contentStream, type, context, cancellationToken).ConfigureAwait(false);
126using (Stream contentStream = await GetContentStreamAsync(content, cancellationToken).ConfigureAwait(false))
128return await JsonSerializer.DeserializeAsync(contentStream, jsonTypeInfo, cancellationToken).ConfigureAwait(false);
System.Net.Mail (2)
System.Net.Ping (3)
System.Net.Quic (3)
System.Net.Security (13)
System\Net\Security\NegotiateStream.cs (4)
366int readBytes = await ReadAllAsync(InnerStream, _readHeader, allowZeroRead: true, cancellationToken).ConfigureAwait(false);
391readBytes = await ReadAllAsync(InnerStream, new Memory<byte>(_readBuffer, 0, readBytes), allowZeroRead: false, cancellationToken).ConfigureAwait(false);
450stream, buffer, buffer.Length, throwOnEndOfStream: false, cancellationToken).ConfigureAwait(false);
864byte[]? message = await _framer.ReadMessageAsync<TIOAdapter>(InnerStream, cancellationToken).ConfigureAwait(false);
System.Net.ServerSentEvents (3)
System.Net.Sockets (3)
System.Net.WebClient (2)
System.Net.WebSockets (4)
System.Private.CoreLib (26)
System.Private.Xml (12)
System.Private.Xml.Linq (2)
System.Security.Cryptography (8)
System\Security\Cryptography\CryptoStream.cs (4)
243return await ReadAsyncCore(buffer, cancellationToken, useAsync: true).ConfigureAwait(false);
351await _stream.ReadAsync(new Memory<byte>(tempInputBuffer, _inputBufferIndex, numWholeBlocksInBytes - _inputBufferIndex), cancellationToken).ConfigureAwait(false) :
428await _stream.ReadAsync(new Memory<byte>(_inputBuffer, _inputBufferIndex, _inputBlockSize - _inputBufferIndex), cancellationToken).ConfigureAwait(false) :
730bytesRead = await ReadAsync(rentedBuffer.AsMemory(0, bufferSize), cancellationToken).ConfigureAwait(false);
System.Security.Cryptography.Cose (1)
System.Text.Json (12)
System.Threading.Channels (3)
System.Threading.RateLimiting (2)
System.Windows.Forms (1)
TestDiscoveryWorker (1)