2282 references to ThrowIfCancellationRequested
Aspire.Dashboard (4)
Components\Pages\ConsoleLogs.razor.cs (3)
682subscription.CancellationToken.ThrowIfCancellationRequested(); 722subscription.CancellationToken.ThrowIfCancellationRequested(); 733subscription.CancellationToken.ThrowIfCancellationRequested();
ServiceClient\DashboardClient.cs (1)
307cancellationToken.ThrowIfCancellationRequested();
Aspire.Hosting (5)
InteractionService.cs (3)
58cancellationToken.ThrowIfCancellationRequested(); 95cancellationToken.ThrowIfCancellationRequested(); 118cancellationToken.ThrowIfCancellationRequested();
Utils\PeriodicRestartAsyncEnumerable.cs (2)
63cancellationToken.ThrowIfCancellationRequested(); 119cancellationToken.ThrowIfCancellationRequested();
Aspire.Hosting.Azure (1)
Provisioning\ResourceDeploymentGraph.cs (1)
57cancellationToken.ThrowIfCancellationRequested();
Aspire.Hosting.Azure.Tests (4)
DefaultUserPrincipalProviderTests.cs (2)
156cancellationToken.ThrowIfCancellationRequested(); 182cancellationToken.ThrowIfCancellationRequested();
ProvisioningTestHelpers.cs (2)
133cancellationToken.ThrowIfCancellationRequested(); 140cancellationToken.ThrowIfCancellationRequested();
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
401cancellationToken.ThrowIfCancellationRequested();
Aspire.Hosting.Tests (3)
Dcp\TestKubernetesService.cs (1)
235cancellation.ThrowIfCancellationRequested();
Utils\Grpc\TestAsyncStreamReader.cs (1)
37_serverCallContext.CancellationToken.ThrowIfCancellationRequested();
Utils\PeriodicRestartAsyncEnumerableTests.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
ConfigurationSchemaGenerator (2)
ConfigurationBindingGenerator.ForSchemaGeneration.cs (1)
71cancellationToken.ThrowIfCancellationRequested();
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
107cancellationToken.ThrowIfCancellationRequested();
csc (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
CSharpSyntaxGenerator (1)
AbstractFileWriter.cs (1)
76CancellationToken.ThrowIfCancellationRequested();
dotnet-svcutil-lib (21)
Bootstrapper\SvcutilBootstrapper.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
CommandProcessorOptions.cs (1)
241cancellationToken.ThrowIfCancellationRequested();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (2)
66cancellationToken.ThrowIfCancellationRequested(); 123cancellationToken.ThrowIfCancellationRequested();
Metadata\MetadaExchangeResolver.cs (3)
181cancellationToken.ThrowIfCancellationRequested(); 190cancellationToken.ThrowIfCancellationRequested(); 260cancellationToken.ThrowIfCancellationRequested();
Metadata\MetadataDocumentLoader.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Metadata\ServiceDescriptor.cs (2)
194cancellationToken.ThrowIfCancellationRequested(); 221cancellationToken.ThrowIfCancellationRequested();
Shared\MSBuildProj.cs (5)
376cancellationToken.ThrowIfCancellationRequested(); 689cancellationToken.ThrowIfCancellationRequested(); 787cancellationToken.ThrowIfCancellationRequested(); 865cancellationToken.ThrowIfCancellationRequested(); 953cancellationToken.ThrowIfCancellationRequested();
Shared\Utilities\AsyncHelper.cs (2)
35cancellationToken.ThrowIfCancellationRequested(); 58cancellationToken.ThrowIfCancellationRequested();
Shared\Utilities\PathHelper.cs (2)
205cancellationToken.ThrowIfCancellationRequested(); 241cancellationToken.ThrowIfCancellationRequested();
Shared\Utilities\ProcessRunner.cs (2)
59cancellationToken.ThrowIfCancellationRequested(); 140cancellationToken.ThrowIfCancellationRequested();
GenerateDocumentationAndConfigFiles (60)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
HttpStress (1)
Program.cs (1)
679_cancellationToken.ThrowIfCancellationRequested();
Metrics (60)
Program.cs (7)
58cancellationToken.ThrowIfCancellationRequested(); 61cancellationToken.ThrowIfCancellationRequested(); 68cancellationToken.ThrowIfCancellationRequested(); 300cancellation.ThrowIfCancellationRequested(); 318cancellation.ThrowIfCancellationRequested(); 326cancellation.ThrowIfCancellationRequested(); 351cancellation.ThrowIfCancellationRequested();
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Metrics.Legacy (60)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Tools\Metrics\Program.cs (7)
58cancellationToken.ThrowIfCancellationRequested(); 61cancellationToken.ThrowIfCancellationRequested(); 68cancellationToken.ThrowIfCancellationRequested(); 300cancellation.ThrowIfCancellationRequested(); 318cancellation.ThrowIfCancellationRequested(); 326cancellation.ThrowIfCancellationRequested(); 351cancellation.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (1)
39cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Components.Tests (2)
ComponentBaseTest.cs (1)
363cts.Token.ThrowIfCancellationRequested();
RendererTest.cs (1)
4129cancellationTokenSource.Token.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Components.Web (1)
Image\Image.cs (1)
178cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\HttpContextStreamWriter.cs (1)
57cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http (4)
Features\FormFeature.cs (1)
192cancellationToken.ThrowIfCancellationRequested();
SendFileFallback.cs (1)
36cancellationToken.ThrowIfCancellationRequested();
src\Http\Shared\StreamCopyOperationInternal.cs (2)
52cancel.ThrowIfCancellationRequested(); 72cancel.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http.Connections.Tests (3)
HttpConnectionDispatcherTests.cs (2)
1252cancellationToken.ThrowIfCancellationRequested(); 1263cancellationToken.ThrowIfCancellationRequested();
TestWebSocketConnectionFeature.cs (1)
197cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http.Extensions (3)
SendFileResponseExtensions.cs (1)
97localCancel.ThrowIfCancellationRequested();
src\Http\Shared\StreamCopyOperationInternal.cs (2)
52cancel.ThrowIfCancellationRequested(); 72cancel.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http.Extensions.Tests (1)
SendFileResponseExtensionsTests.cs (1)
130cancellation.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http.Microbenchmarks (1)
RequestTimeoutsMiddlewareBenchmark.cs (1)
46context.RequestAborted.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Http.Results (2)
src\Http\Shared\StreamCopyOperationInternal.cs (2)
52cancel.ThrowIfCancellationRequested(); 72cancel.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Identity.EntityFrameworkCore (47)
RoleStore.cs (10)
132cancellationToken.ThrowIfCancellationRequested(); 148cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 196cancellationToken.ThrowIfCancellationRequested(); 210cancellationToken.ThrowIfCancellationRequested(); 225cancellationToken.ThrowIfCancellationRequested(); 268cancellationToken.ThrowIfCancellationRequested(); 282cancellationToken.ThrowIfCancellationRequested(); 295cancellationToken.ThrowIfCancellationRequested(); 310cancellationToken.ThrowIfCancellationRequested();
UserOnlyStore.cs (16)
194cancellationToken.ThrowIfCancellationRequested(); 210cancellationToken.ThrowIfCancellationRequested(); 236cancellationToken.ThrowIfCancellationRequested(); 262cancellationToken.ThrowIfCancellationRequested(); 278cancellationToken.ThrowIfCancellationRequested(); 416cancellationToken.ThrowIfCancellationRequested(); 435cancellationToken.ThrowIfCancellationRequested(); 455cancellationToken.ThrowIfCancellationRequested(); 475cancellationToken.ThrowIfCancellationRequested(); 495cancellationToken.ThrowIfCancellationRequested(); 511cancellationToken.ThrowIfCancellationRequested(); 620cancellationToken.ThrowIfCancellationRequested(); 651cancellationToken.ThrowIfCancellationRequested(); 688cancellationToken.ThrowIfCancellationRequested(); 708cancellationToken.ThrowIfCancellationRequested(); 742cancellationToken.ThrowIfCancellationRequested();
UserStore.cs (21)
198cancellationToken.ThrowIfCancellationRequested(); 214cancellationToken.ThrowIfCancellationRequested(); 240cancellationToken.ThrowIfCancellationRequested(); 266cancellationToken.ThrowIfCancellationRequested(); 282cancellationToken.ThrowIfCancellationRequested(); 364cancellationToken.ThrowIfCancellationRequested(); 386cancellationToken.ThrowIfCancellationRequested(); 410cancellationToken.ThrowIfCancellationRequested(); 431cancellationToken.ThrowIfCancellationRequested(); 533cancellationToken.ThrowIfCancellationRequested(); 552cancellationToken.ThrowIfCancellationRequested(); 572cancellationToken.ThrowIfCancellationRequested(); 592cancellationToken.ThrowIfCancellationRequested(); 612cancellationToken.ThrowIfCancellationRequested(); 628cancellationToken.ThrowIfCancellationRequested(); 651cancellationToken.ThrowIfCancellationRequested(); 765cancellationToken.ThrowIfCancellationRequested(); 795cancellationToken.ThrowIfCancellationRequested(); 832cancellationToken.ThrowIfCancellationRequested(); 852cancellationToken.ThrowIfCancellationRequested(); 886cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\JsonResultExecutorTestBase.cs (1)
469cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
NewtonsoftJsonOutputFormatterTest.cs (2)
472cancellationToken.ThrowIfCancellationRequested(); 547cancellationToken.ThrowIfCancellationRequested();
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (1)
469cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
804cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.OpenApi.SourceGenerators (6)
Helpers\AssemblyTypeSymbolsVisitor.cs (6)
30_cancellationToken.ThrowIfCancellationRequested(); 38_cancellationToken.ThrowIfCancellationRequested(); 45_cancellationToken.ThrowIfCancellationRequested(); 56_cancellationToken.ThrowIfCancellationRequested(); 63_cancellationToken.ThrowIfCancellationRequested(); 72_cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
315token.ThrowIfCancellationRequested();
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestRateLimiter.cs (1)
31cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.ResponseCaching (1)
CacheEntry\CachedResponseBody.cs (1)
26cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\Request.cs (1)
413cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Server.IIS (5)
Core\EmptyStream.cs (1)
73cancellationToken.ThrowIfCancellationRequested();
Core\HttpRequestStream.cs (1)
121cancellationToken.ThrowIfCancellationRequested();
Core\HttpResponseStream.cs (2)
99cancellationToken.ThrowIfCancellationRequested(); 108cancellationToken.ThrowIfCancellationRequested();
Core\OutputProducer.cs (1)
110cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
328cancellationToken.ThrowIfCancellationRequested();
Internal\Http\HttpRequestPipeReader.cs (1)
115cancellationToken.ThrowIfCancellationRequested();
Internal\Http\HttpResponsePipeWriter.cs (1)
106cancellationToken.ThrowIfCancellationRequested();
Internal\Infrastructure\PipeWriterHelpers\TimingPipeFlusher.cs (1)
109cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
AddressBinderTests.cs (1)
263cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Session (3)
DistributedSession.cs (3)
221cts.Token.ThrowIfCancellationRequested(); 257cts.Token.ThrowIfCancellationRequested(); 278cts.Token.ThrowIfCancellationRequested();
Microsoft.AspNetCore.Session.Tests (3)
SessionTests.cs (3)
1179token.ThrowIfCancellationRequested(); 1195token.ThrowIfCancellationRequested(); 1215token.ThrowIfCancellationRequested();
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
488cancellationToken.ThrowIfCancellationRequested(); 744cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.SignalR.Client.Tests (9)
HttpConnectionTests.ConnectionLifecycle.cs (1)
396cancellationToken.ThrowIfCancellationRequested();
HttpConnectionTests.Transport.cs (2)
609cancellationToken.ThrowIfCancellationRequested(); 620cancellationToken.ThrowIfCancellationRequested();
TestHttpMessageHandler.cs (2)
52cancellationToken.ThrowIfCancellationRequested(); 163cancellationToken.ThrowIfCancellationRequested();
TestTransport.cs (1)
51cancellationToken.ThrowIfCancellationRequested();
WebSocketsTransportTests.cs (3)
61cancellationToken.ThrowIfCancellationRequested(); 69cancellationToken.ThrowIfCancellationRequested(); 76cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.TestHost (1)
ResponseBodyPipeWriter.cs (1)
26cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.TestHost.Tests (1)
HttpContextBuilderTests.cs (1)
314c.RequestAborted.ThrowIfCancellationRequested();
Microsoft.AspNetCore.WebSockets.ConformanceTests (5)
Autobahn\AutobahnTester.cs (5)
61cancellationToken.ThrowIfCancellationRequested(); 148cancellationToken.ThrowIfCancellationRequested(); 163cancellationToken.ThrowIfCancellationRequested(); 168cancellationToken.ThrowIfCancellationRequested(); 178cancellationToken.ThrowIfCancellationRequested();
Microsoft.AspNetCore.WebUtilities (3)
FormReader.cs (1)
273cancellationToken.ThrowIfCancellationRequested();
StreamHelperExtensions.cs (2)
57cancellationToken.ThrowIfCancellationRequested(); 66cancellationToken.ThrowIfCancellationRequested();
Microsoft.Build.Tasks.CodeAnalysis (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
Microsoft.Build.Tasks.CodeAnalysis.Sdk (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis (55)
CommandLine\CommonCompiler.cs (5)
883cancellationToken.ThrowIfCancellationRequested(); 1162cancellationToken.ThrowIfCancellationRequested(); 1237cancellationToken.ThrowIfCancellationRequested(); 1496cancellationToken.ThrowIfCancellationRequested(); 1507cancellationToken.ThrowIfCancellationRequested();
Compilation\Compilation.cs (1)
3237cancellationToken.ThrowIfCancellationRequested();
Compilation\DeterministicKeyBuilder.cs (5)
162cancellationToken.ThrowIfCancellationRequested(); 178cancellationToken.ThrowIfCancellationRequested(); 189cancellationToken.ThrowIfCancellationRequested(); 219cancellationToken.ThrowIfCancellationRequested(); 228cancellationToken.ThrowIfCancellationRequested();
DiagnosticAnalyzer\AnalysisResultBuilder.cs (2)
502cancellationToken.ThrowIfCancellationRequested(); 519cancellationToken.ThrowIfCancellationRequested();
DiagnosticAnalyzer\AnalyzerDriver.cs (9)
439cancellationToken.ThrowIfCancellationRequested(); 757cancellationToken.ThrowIfCancellationRequested(); 784cancellationToken.ThrowIfCancellationRequested(); 1526cancellationToken.ThrowIfCancellationRequested(); 1581cancellationToken.ThrowIfCancellationRequested(); 1718cancellationToken.ThrowIfCancellationRequested(); 2514cancellationToken.ThrowIfCancellationRequested(); 2540cancellationToken.ThrowIfCancellationRequested(); 2869cancellationToken.ThrowIfCancellationRequested();
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
294cancellationToken.ThrowIfCancellationRequested(); 400cancellationToken.ThrowIfCancellationRequested(); 1191cancellationToken.ThrowIfCancellationRequested(); 1227cancellationToken.ThrowIfCancellationRequested();
DiagnosticAnalyzer\AnalyzerManager.cs (3)
87cancellationToken.ThrowIfCancellationRequested(); 126cancellationToken.ThrowIfCancellationRequested(); 158cancellationToken.ThrowIfCancellationRequested();
DiagnosticAnalyzer\AsyncQueue.cs (1)
249new CancellationToken(canceled: true).ThrowIfCancellationRequested();
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
382cancellationToken.ThrowIfCancellationRequested(); 713cancellationToken.ThrowIfCancellationRequested(); 821cancellationToken.ThrowIfCancellationRequested(); 1054cancellationToken.ThrowIfCancellationRequested(); 1300cancellationToken.ThrowIfCancellationRequested();
Emit\InstrumentationKind.cs (1)
32/// Instruments code with calls to <see cref="CancellationToken.ThrowIfCancellationRequested"/> on a module-level defined
InternalUtilities\RoslynParallel.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
Operations\ControlFlowGraph.cs (4)
96cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 229cancellationToken.ThrowIfCancellationRequested(); 278cancellationToken.ThrowIfCancellationRequested();
PEWriter\MetadataWriter.cs (4)
470_cancellationToken.ThrowIfCancellationRequested(); 516_cancellationToken.ThrowIfCancellationRequested(); 1836_cancellationToken.ThrowIfCancellationRequested(); 2971_cancellationToken.ThrowIfCancellationRequested();
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (1)
123token.ThrowIfCancellationRequested();
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
113cancellationToken.ThrowIfCancellationRequested();
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (5)
132cancellationToken.ThrowIfCancellationRequested(); 194cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested(); 220cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested();
SourceGeneration\SyntaxStore.cs (1)
99_cancellationToken.ThrowIfCancellationRequested();
Text\LargeText.cs (1)
201cancellationToken.ThrowIfCancellationRequested();
Text\SourceText.cs (1)
560cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Analyzers (66)
FixAnalyzers\FixerWithFixAllAnalyzer.cs (1)
83context.CancellationToken.ThrowIfCancellationRequested();
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_IdRangeAndCategoryValidation.cs (1)
216cancellationToken.ThrowIfCancellationRequested();
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
255cancellationToken.ThrowIfCancellationRequested();
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Microsoft.CodeAnalysis.BannedApiAnalyzers\Core\SymbolIsBannedAnalyzerBase.cs (2)
73context.CancellationToken.ThrowIfCancellationRequested(); 224cancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.AnalyzerUtilities (53)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.BannedApiAnalyzers (63)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
SymbolIsBannedAnalyzerBase.cs (2)
73context.CancellationToken.ThrowIfCancellationRequested(); 224cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CodeStyle (63)
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
50cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\RemoveUnnecessaryCast\AbstractRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
58cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (7)
164cancellationToken.ThrowIfCancellationRequested(); 171cancellationToken.ThrowIfCancellationRequested(); 189cancellationToken.ThrowIfCancellationRequested(); 195cancellationToken.ThrowIfCancellationRequested(); 457cancellationToken.ThrowIfCancellationRequested(); 465cancellationToken.ThrowIfCancellationRequested(); 472cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerAnalyzer.cs (1)
130cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
81cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
93cancellationToken.ThrowIfCancellationRequested();
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CodeStyle.Fixes (28)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
354cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
66cancellationToken.ThrowIfCancellationRequested(); 102cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.State.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (5)
101cancellationToken.ThrowIfCancellationRequested(); 150cancellationToken.ThrowIfCancellationRequested(); 190cancellationToken.ThrowIfCancellationRequested(); 205cancellationToken.ThrowIfCancellationRequested(); 214cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.State.cs (1)
60cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (5)
204cancellationToken.ThrowIfCancellationRequested(); 261cancellationToken.ThrowIfCancellationRequested(); 271cancellationToken.ThrowIfCancellationRequested(); 274cancellationToken.ThrowIfCancellationRequested(); 283cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
136cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
81cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (2)
292cancellationToken.ThrowIfCancellationRequested(); 486cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
48cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp (93)
Compilation\CSharpCompilation.cs (13)
2713cancellationToken.ThrowIfCancellationRequested(); 3019cancellationToken.ThrowIfCancellationRequested(); 3022cancellationToken.ThrowIfCancellationRequested(); 3030cancellationToken.ThrowIfCancellationRequested(); 3055cancellationToken.ThrowIfCancellationRequested(); 3060cancellationToken.ThrowIfCancellationRequested(); 3070cancellationToken.ThrowIfCancellationRequested(); 3365cancellationToken.ThrowIfCancellationRequested(); 3378cancellationToken.ThrowIfCancellationRequested(); 3387cancellationToken.ThrowIfCancellationRequested(); 3777cancellationToken.ThrowIfCancellationRequested(); 3799cancellationToken.ThrowIfCancellationRequested(); 5021_cancellationToken.ThrowIfCancellationRequested();
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
90cancellationToken.ThrowIfCancellationRequested();
Compilation\CSharpSemanticModel.cs (5)
3241cancellationToken.ThrowIfCancellationRequested(); 3245cancellationToken.ThrowIfCancellationRequested(); 5082cancellationToken.ThrowIfCancellationRequested(); 5170cancellationToken.ThrowIfCancellationRequested(); 5200cancellationToken.ThrowIfCancellationRequested();
Compilation\SyntaxTreeSemanticModel.cs (1)
2047cancellationToken.ThrowIfCancellationRequested();
Compiler\ClsComplianceChecker.cs (7)
91_cancellationToken.ThrowIfCancellationRequested(); 190_cancellationToken.ThrowIfCancellationRequested(); 239_cancellationToken.ThrowIfCancellationRequested(); 305_cancellationToken.ThrowIfCancellationRequested(); 359_cancellationToken.ThrowIfCancellationRequested(); 381_cancellationToken.ThrowIfCancellationRequested(); 402_cancellationToken.ThrowIfCancellationRequested();
Compiler\DocumentationCommentCompiler.cs (12)
175_cancellationToken.ThrowIfCancellationRequested(); 201_cancellationToken.ThrowIfCancellationRequested(); 219_cancellationToken.ThrowIfCancellationRequested(); 244_cancellationToken.ThrowIfCancellationRequested(); 276_cancellationToken.ThrowIfCancellationRequested(); 285_cancellationToken.ThrowIfCancellationRequested(); 385_cancellationToken.ThrowIfCancellationRequested(); 457_cancellationToken.ThrowIfCancellationRequested(); 475_cancellationToken.ThrowIfCancellationRequested(); 558_cancellationToken.ThrowIfCancellationRequested(); 579_cancellationToken.ThrowIfCancellationRequested(); 659_cancellationToken.ThrowIfCancellationRequested();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (3)
113cancellationToken.ThrowIfCancellationRequested(); 127cancellationToken.ThrowIfCancellationRequested(); 173_cancellationToken.ThrowIfCancellationRequested();
Compiler\MethodCompiler.cs (6)
379_cancellationToken.ThrowIfCancellationRequested(); 425_cancellationToken.ThrowIfCancellationRequested(); 459_cancellationToken.ThrowIfCancellationRequested(); 488_cancellationToken.ThrowIfCancellationRequested(); 491_cancellationToken.ThrowIfCancellationRequested(); 937_cancellationToken.ThrowIfCancellationRequested();
Compiler\SynthesizedMetadataCompiler.cs (2)
54_cancellationToken.ThrowIfCancellationRequested(); 64_cancellationToken.ThrowIfCancellationRequested();
Compiler\UnprocessedDocumentationCommentFinder.cs (3)
45_cancellationToken.ThrowIfCancellationRequested(); 80_cancellationToken.ThrowIfCancellationRequested(); 93_cancellationToken.ThrowIfCancellationRequested();
Declarations\DeclarationTable.cs (1)
327cancellationToken.ThrowIfCancellationRequested();
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
21/// - Inserts calls to <see cref="CancellationToken.ThrowIfCancellationRequested"/> on the host token into each method, loop or goto.
Parser\LanguageParser.cs (3)
1691cancellationToken.ThrowIfCancellationRequested(); 2521cancellationToken.ThrowIfCancellationRequested(); 3091cancellationToken.ThrowIfCancellationRequested();
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
63cancellationToken.ThrowIfCancellationRequested();
Symbols\MergedNamespaceSymbol.cs (1)
123cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceAssemblySymbol.cs (1)
910cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceEnumConstantSymbol.cs (1)
110cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceMemberContainerSymbol.cs (4)
559cancellationToken.ThrowIfCancellationRequested(); 661cancellationToken.ThrowIfCancellationRequested(); 684cancellationToken.ThrowIfCancellationRequested(); 1042cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (7)
37cancellationToken.ThrowIfCancellationRequested(); 40cancellationToken.ThrowIfCancellationRequested(); 43cancellationToken.ThrowIfCancellationRequested(); 48cancellationToken.ThrowIfCancellationRequested(); 125cancellationToken.ThrowIfCancellationRequested(); 136cancellationToken.ThrowIfCancellationRequested(); 530cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceMemberFieldSymbol.cs (1)
290cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
898cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceModuleSymbol.cs (2)
230cancellationToken.ThrowIfCancellationRequested(); 315cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (8)
283cancellationToken.ThrowIfCancellationRequested(); 315cancellationToken.ThrowIfCancellationRequested(); 344cancellationToken.ThrowIfCancellationRequested(); 915cancellationToken.ThrowIfCancellationRequested(); 921cancellationToken.ThrowIfCancellationRequested(); 924cancellationToken.ThrowIfCancellationRequested(); 928cancellationToken.ThrowIfCancellationRequested(); 1153cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceNamespaceSymbol.cs (1)
469cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceNamespaceSymbol_Completion.cs (1)
22cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1780cancellationToken.ThrowIfCancellationRequested();
Symbols\Source\SourceTypeParameterSymbol.cs (1)
355cancellationToken.ThrowIfCancellationRequested();
Symbols\Symbol.cs (2)
943cancellationToken.ThrowIfCancellationRequested(); 964cancellationToken.ThrowIfCancellationRequested();
Symbols\SymbolCompletionState.cs (1)
132cancellationToken.ThrowIfCancellationRequested();
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
268cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp.CodeStyle (19)
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
225cancellationToken.ThrowIfCancellationRequested(); 269cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementDiagnosticAnalyzer.cs (1)
46context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementDiagnosticAnalyzer.cs (1)
55cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementDiagnosticAnalyzer.cs (1)
46context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementDiagnosticAnalyzer.cs (1)
43context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
251cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
108context.CancellationToken.ThrowIfCancellationRequested(); 191cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
62cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
248cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
186cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
434cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseExpressionBody\UseExpressionBodyDiagnosticAnalyzer.cs (1)
75cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (3)
52cancellationToken.ThrowIfCancellationRequested(); 152_cancellationToken.ThrowIfCancellationRequested(); 164_cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
163cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1010cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (22)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\GenerateDefaultConstructors\CSharpGenerateDefaultConstructorsService.cs (1)
29cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
69cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (9)
50cancellationToken.ThrowIfCancellationRequested(); 78cancellationToken.ThrowIfCancellationRequested(); 82cancellationToken.ThrowIfCancellationRequested(); 85cancellationToken.ThrowIfCancellationRequested(); 108cancellationToken.ThrowIfCancellationRequested(); 118cancellationToken.ThrowIfCancellationRequested(); 122cancellationToken.ThrowIfCancellationRequested(); 126cancellationToken.ThrowIfCancellationRequested(); 146cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (1)
66cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementCodeFixProvider.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseExpressionBody\UseExpressionBodyCodeFixProvider.cs (1)
62cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseInterpolatedVerbatimString\CSharpUseInterpolatedVerbatimStringCodeFixProvider.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
53cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
42cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpUseNotPatternCodeFixProvider.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
54cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
38_cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.cs (3)
4267cancellationToken.ThrowIfCancellationRequested(); 4273cancellationToken.ThrowIfCancellationRequested(); 4280cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp.Features (57)
BraceCompletion\LessAndGreaterThanBraceCompletionService.cs (1)
40cancellationToken.ThrowIfCancellationRequested();
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.cs (1)
44cancellationToken.ThrowIfCancellationRequested();
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProvider.cs (1)
105cancellationToken.ThrowIfCancellationRequested();
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider.cs (1)
134cancellationToken.ThrowIfCancellationRequested();
ConvertForEachToFor\CSharpConvertForEachToForCodeRefactoringProvider.cs (1)
59cancellationToken.ThrowIfCancellationRequested();
Copilot\CSharpImplementNotImplementedExceptionFixProvider.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
DocumentationComments\DocCommentConverter.cs (1)
37_cancellationToken.ThrowIfCancellationRequested();
DocumentHighlighting\CSharpDocumentHighlightsService.cs (1)
57cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (2)
48cancellationToken.ThrowIfCancellationRequested(); 206cancellationToken.ThrowIfCancellationRequested();
ExtractMethod\CSharpSelectionValidator.Validator.cs (1)
46cancellationToken.ThrowIfCancellationRequested();
Highlighting\KeywordHighlighters\AsyncAwaitHighlighter.cs (1)
40cancellationToken.ThrowIfCancellationRequested();
LineSeparators\CSharpLineSeparatorService.cs (1)
272cancellationToken.ThrowIfCancellationRequested();
MetadataAsSource\CSharpMetadataAsSourceService.cs (1)
177cancellationToken.ThrowIfCancellationRequested();
NavigationBar\CSharpNavigationBarItemService.cs (1)
255cancellationToken.ThrowIfCancellationRequested();
Organizing\CSharpOrganizingService.Rewriter.cs (2)
25_cancellationToken.ThrowIfCancellationRequested(); 31_cancellationToken.ThrowIfCancellationRequested();
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
171cancellationToken.ThrowIfCancellationRequested();
SignatureHelp\InvocationExpressionSignatureHelpProviderBase_DelegateAndFunctionPointerInvoke.cs (1)
86cancellationToken.ThrowIfCancellationRequested();
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
348cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (2)
225cancellationToken.ThrowIfCancellationRequested(); 269cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementDiagnosticAnalyzer.cs (1)
46context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementDiagnosticAnalyzer.cs (1)
55cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementDiagnosticAnalyzer.cs (1)
46context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementDiagnosticAnalyzer.cs (1)
43context.CancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
251cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
108context.CancellationToken.ThrowIfCancellationRequested(); 191cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\CSharpRemoveUnreachableCodeDiagnosticAnalyzer.cs (1)
62cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
248cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
186cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
434cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\Analyzers\UseExpressionBody\UseExpressionBodyDiagnosticAnalyzer.cs (1)
75cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\GenerateDefaultConstructors\CSharpGenerateDefaultConstructorsService.cs (1)
29cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
69cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (9)
50cancellationToken.ThrowIfCancellationRequested(); 78cancellationToken.ThrowIfCancellationRequested(); 82cancellationToken.ThrowIfCancellationRequested(); 85cancellationToken.ThrowIfCancellationRequested(); 108cancellationToken.ThrowIfCancellationRequested(); 118cancellationToken.ThrowIfCancellationRequested(); 122cancellationToken.ThrowIfCancellationRequested(); 126cancellationToken.ThrowIfCancellationRequested(); 146cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (1)
66cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementCodeFixProvider.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseExpressionBody\UseExpressionBodyCodeFixProvider.cs (1)
62cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseInterpolatedVerbatimString\CSharpUseInterpolatedVerbatimStringCodeFixProvider.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
53cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
42cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpUseNotPatternCodeFixProvider.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
54cancellationToken.ThrowIfCancellationRequested();
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
63cancellationToken.ThrowIfCancellationRequested();
StringIndentation\CSharpStringIndentationService.cs (2)
86cancellationToken.ThrowIfCancellationRequested(); 108cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
SourceGeneration\GeneratorDriverTests.cs (3)
757e.CancellationToken.ThrowIfCancellationRequested(); 1685Func<int, CancellationToken, int> timeoutFunc = (input, ct) => { ct.ThrowIfCancellationRequested(); return input; }; 2599var step2 = step1.Select((c, ct) => { ct.ThrowIfCancellationRequested(); return c; });
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
Classification\Worker.cs (3)
92_cancellationToken.ThrowIfCancellationRequested(); 172_cancellationToken.ThrowIfCancellationRequested(); 191_cancellationToken.ThrowIfCancellationRequested();
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
176cancellationToken.ThrowIfCancellationRequested();
Simplification\CSharpSimplificationService.Expander.cs (7)
249_cancellationToken.ThrowIfCancellationRequested(); 346_cancellationToken.ThrowIfCancellationRequested(); 384_cancellationToken.ThrowIfCancellationRequested(); 393_cancellationToken.ThrowIfCancellationRequested(); 421_cancellationToken.ThrowIfCancellationRequested(); 430_cancellationToken.ThrowIfCancellationRequested(); 439_cancellationToken.ThrowIfCancellationRequested();
Simplification\Reducers\AbstractCSharpReducer.AbstractReductionRewriter.cs (2)
131this.CancellationToken.ThrowIfCancellationRequested(); 162this.CancellationToken.ThrowIfCancellationRequested();
Simplification\Reducers\CSharpVarReducer.Rewriter.cs (1)
25this.CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (3)
52cancellationToken.ThrowIfCancellationRequested(); 152_cancellationToken.ThrowIfCancellationRequested(); 164_cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
163cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1010cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
38_cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.EditorFeatures (61)
AutomaticCompletion\AbstractBraceCompletionServiceFactory.cs (1)
29cancellationToken.ThrowIfCancellationRequested();
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (1)
95cancellationToken.ThrowIfCancellationRequested();
CodeActions\CodeActionEditHandlerService.cs (1)
52cancellationToken.ThrowIfCancellationRequested();
Copilot\CopilotWpfTextCreationListener.cs (1)
118cancellationToken.ThrowIfCancellationRequested();
Copilot\RoslynProposalAdjusterProvider.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
IntelliSense\AsyncCompletion\CommitManager.cs (1)
239cancellationToken.ThrowIfCancellationRequested();
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
516cancellationToken.ThrowIfCancellationRequested();
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (4)
266cancellationToken.ThrowIfCancellationRequested(); 446cancellationToken.ThrowIfCancellationRequested(); 665cancellationToken.ThrowIfCancellationRequested(); 894cancellationToken.ThrowIfCancellationRequested();
IntelliSense\AsyncCompletion\ItemManager.cs (1)
81cancellationToken.ThrowIfCancellationRequested();
IntelliSense\ModelComputation.cs (1)
131_stopCancellationToken.ThrowIfCancellationRequested();
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (1)
73cancellationToken.ThrowIfCancellationRequested();
Interactive\InteractiveSession.cs (1)
117cancellationToken.ThrowIfCancellationRequested();
IWpfDifferenceViewerExtensions.cs (1)
46cancellationToken.ThrowIfCancellationRequested();
LineSeparators\LineSeparatorTaggerProvider.cs (1)
91cancellationToken.ThrowIfCancellationRequested();
NavigationBar\NavigationBarController_ModelComputation.cs (1)
225cancellationToken.ThrowIfCancellationRequested();
Preview\AbstractPreviewFactoryService.cs (27)
73cancellationToken.ThrowIfCancellationRequested(); 86cancellationToken.ThrowIfCancellationRequested(); 95cancellationToken.ThrowIfCancellationRequested(); 102cancellationToken.ThrowIfCancellationRequested(); 109cancellationToken.ThrowIfCancellationRequested(); 116cancellationToken.ThrowIfCancellationRequested(); 123cancellationToken.ThrowIfCancellationRequested(); 130cancellationToken.ThrowIfCancellationRequested(); 137cancellationToken.ThrowIfCancellationRequested(); 144cancellationToken.ThrowIfCancellationRequested(); 151cancellationToken.ThrowIfCancellationRequested(); 158cancellationToken.ThrowIfCancellationRequested(); 165cancellationToken.ThrowIfCancellationRequested(); 172cancellationToken.ThrowIfCancellationRequested(); 179cancellationToken.ThrowIfCancellationRequested(); 186cancellationToken.ThrowIfCancellationRequested(); 193cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 208cancellationToken.ThrowIfCancellationRequested(); 215cancellationToken.ThrowIfCancellationRequested(); 687cancellationToken.ThrowIfCancellationRequested(); 693cancellationToken.ThrowIfCancellationRequested(); 747cancellationToken.ThrowIfCancellationRequested(); 764cancellationToken.ThrowIfCancellationRequested(); 769cancellationToken.ThrowIfCancellationRequested(); 779cancellationToken.ThrowIfCancellationRequested(); 784cancellationToken.ThrowIfCancellationRequested();
Preview\SolutionPreviewResult.cs (2)
36cancellationToken.ThrowIfCancellationRequested(); 62cancellationToken.ThrowIfCancellationRequested();
QuickInfo\OnTheFlyDocsView.xaml.cs (1)
197cancellationToken.ThrowIfCancellationRequested();
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (1)
105cancellationToken.ThrowIfCancellationRequested();
Shared\Utilities\ThreadingContext.cs (1)
69DisposalToken.ThrowIfCancellationRequested();
SignatureHelp\Controller.Session_ComputeModel.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
StringIndentation\StringIndentationTaggerProvider.cs (1)
87cancellationToken.ThrowIfCancellationRequested();
Suggestions\PreviewChanges\PreviewChangesCodeAction.cs (2)
36cancellationToken.ThrowIfCancellationRequested(); 65cancellationToken.ThrowIfCancellationRequested();
Suggestions\RefineUsingCopilot\RefineUsingCopilotCodeAction.cs (1)
82cancellationToken.ThrowIfCancellationRequested();
Suggestions\SuggestedActionsSource.cs (1)
136cancellationToken.ThrowIfCancellationRequested();
Suggestions\SuggestedActionWithNestedFlavors.cs (2)
67cancellationToken.ThrowIfCancellationRequested(); 144cancellationToken.ThrowIfCancellationRequested();
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
249cancellationToken.ThrowIfCancellationRequested();
Tagging\AsynchronousViewportTaggerProvider.SingleViewportTaggerProvider.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
Workspaces\EditorTextFactoryService.cs (1)
79cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Threading\TaskJoinExtensions.cs (1)
58cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\AsynchronousOperationListenerTests.cs (1)
65_tokenSource.Token.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Extensions.Package (7)
Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
Internal\Analyzer\AbstractCopilotCodeAnalysisService.cs (1)
94cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Internal\ExtensionMessageHandlerFactory.cs (1)
46cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Features (200)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (1)
74cancellationToken.ThrowIfCancellationRequested();
AddImport\AbstractAddImportFeatureService.cs (2)
113cancellationToken.ThrowIfCancellationRequested(); 357linkedTokenSource.Token.ThrowIfCancellationRequested();
AddImport\SearchScopes\SearchScope.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
AddImport\SymbolReferenceFinder.cs (14)
107cancellationToken.ThrowIfCancellationRequested(); 139cancellationToken.ThrowIfCancellationRequested(); 180cancellationToken.ThrowIfCancellationRequested(); 265cancellationToken.ThrowIfCancellationRequested(); 292cancellationToken.ThrowIfCancellationRequested(); 356cancellationToken.ThrowIfCancellationRequested(); 360cancellationToken.ThrowIfCancellationRequested(); 415cancellationToken.ThrowIfCancellationRequested(); 446cancellationToken.ThrowIfCancellationRequested(); 470cancellationToken.ThrowIfCancellationRequested(); 495cancellationToken.ThrowIfCancellationRequested(); 520cancellationToken.ThrowIfCancellationRequested(); 545cancellationToken.ThrowIfCancellationRequested(); 592cancellationToken.ThrowIfCancellationRequested();
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (7)
58cancellationToken.ThrowIfCancellationRequested(); 65cancellationToken.ThrowIfCancellationRequested(); 135cancellationToken.ThrowIfCancellationRequested(); 143cancellationToken.ThrowIfCancellationRequested(); 164cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested();
AddPackage\AbstractAddPackageCodeFixProvider.cs (2)
55cancellationToken.ThrowIfCancellationRequested(); 78cancellationToken.ThrowIfCancellationRequested();
BraceCompletion\AbstractBraceCompletionService.cs (1)
43cancellationToken.ThrowIfCancellationRequested();
BraceMatching\BraceMatchingService.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
CodeFixes\Service\CodeFixService.cs (8)
290cancellationToken.ThrowIfCancellationRequested(); 342cancellationToken.ThrowIfCancellationRequested(); 449cancellationToken.ThrowIfCancellationRequested(); 472cancellationToken.ThrowIfCancellationRequested(); 520cancellationToken.ThrowIfCancellationRequested(); 632cancellationToken.ThrowIfCancellationRequested(); 712cancellationToken.ThrowIfCancellationRequested(); 751cancellationToken.ThrowIfCancellationRequested();
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (5)
86cancellationToken.ThrowIfCancellationRequested(); 117cancellationToken.ThrowIfCancellationRequested(); 234cancellationToken.ThrowIfCancellationRequested(); 329cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested();
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (2)
54cancellationToken.ThrowIfCancellationRequested(); 68cancellationToken.ThrowIfCancellationRequested();
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (5)
33fixAllContext.CancellationToken.ThrowIfCancellationRequested(); 62cancellationToken.ThrowIfCancellationRequested(); 70cancellationToken.ThrowIfCancellationRequested(); 113cancellationToken.ThrowIfCancellationRequested(); 206cancellationToken.ThrowIfCancellationRequested();
CodeLens\CodeLensReferencesService.cs (3)
56cancellationToken.ThrowIfCancellationRequested(); 174cancellationToken.ThrowIfCancellationRequested(); 351cancellationToken.ThrowIfCancellationRequested();
CodeRefactorings\CodeRefactoringService.cs (1)
251cancellationToken.ThrowIfCancellationRequested();
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
542cancellationToken.ThrowIfCancellationRequested();
Completion\CompletionService.ProviderManager.cs (1)
88cancellationToken.ThrowIfCancellationRequested();
Completion\FileSystemCompletionHelper.cs (4)
218cancellationToken.ThrowIfCancellationRequested(); 225cancellationToken.ThrowIfCancellationRequested(); 235cancellationToken.ThrowIfCancellationRequested(); 247cancellationToken.ThrowIfCancellationRequested();
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (2)
162cancellationToken.ThrowIfCancellationRequested(); 267cancellationToken.ThrowIfCancellationRequested();
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (1)
137cancellationToken.ThrowIfCancellationRequested();
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (4)
72cancellationToken.ThrowIfCancellationRequested(); 231cancellationToken.ThrowIfCancellationRequested(); 298cancellationToken.ThrowIfCancellationRequested(); 381cancellationToken.ThrowIfCancellationRequested();
Completion\Providers\Scripting\GlobalAssemblyCacheCompletionHelper.cs (1)
51cancellationToken.ThrowIfCancellationRequested();
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (2)
184cancellationToken.ThrowIfCancellationRequested(); 210cancellationToken.ThrowIfCancellationRequested();
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
219cancellationToken.ThrowIfCancellationRequested();
DesignerAttribute\DesignerAttributeDiscoveryService.cs (2)
309cancellationToken.ThrowIfCancellationRequested(); 367cancellationToken.ThrowIfCancellationRequested();
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
87cancellationToken.ThrowIfCancellationRequested();
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (1)
86cancellationToken.ThrowIfCancellationRequested();
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
530cancellationToken.ThrowIfCancellationRequested(); 554cancellationToken.ThrowIfCancellationRequested(); 609cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested(); 629cancellationToken.ThrowIfCancellationRequested(); 662cancellationToken.ThrowIfCancellationRequested(); 2237cancellationToken.ThrowIfCancellationRequested(); 2735cancellationToken.ThrowIfCancellationRequested();
EditAndContinue\CommittedSolution.cs (2)
385cancellationToken.ThrowIfCancellationRequested(); 406cancellationToken.ThrowIfCancellationRequested();
EditAndContinue\DebuggingSession.cs (1)
754cancellationToken.ThrowIfCancellationRequested();
EditAndContinue\EditSession.cs (4)
508cancellationToken.ThrowIfCancellationRequested(); 511cancellationToken.ThrowIfCancellationRequested(); 598cancellationToken.ThrowIfCancellationRequested(); 601cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\Classification\AbstractEmbeddedLanguageClassificationService.cs (2)
91_cancellationToken.ThrowIfCancellationRequested(); 111_cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\EmbeddedLanguageDetector.cs (1)
395cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (2)
58cancellationToken.ThrowIfCancellationRequested(); 65cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (1)
58cancellationToken.ThrowIfCancellationRequested();
EncapsulateField\AbstractEncapsulateFieldService.cs (1)
114cancellationToken.ThrowIfCancellationRequested();
Extensions\ExtensionFolder.cs (1)
179cancellationToken.ThrowIfCancellationRequested();
Extensions\IExtensionAssemblyLoaderProvider.cs (2)
51cancellationToken.ThrowIfCancellationRequested(); 66cancellationToken.ThrowIfCancellationRequested();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingIdleProcessor.cs (3)
98this.CancellationToken.ThrowIfCancellationRequested(); 131CancellationToken.ThrowIfCancellationRequested(); 137CancellationToken.ThrowIfCancellationRequested();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.AbstractUnitTestingPriorityProcessor.cs (1)
74CancellationToken.ThrowIfCancellationRequested();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (2)
77cancellationToken.ThrowIfCancellationRequested(); 332_shutdownToken.ThrowIfCancellationRequested();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (1)
385CancellationToken.ThrowIfCancellationRequested();
ExtractMethod\AbstractExtractMethodService.cs (1)
44cancellationToken.ThrowIfCancellationRequested();
ExtractMethod\MethodExtractor.cs (4)
61cancellationToken.ThrowIfCancellationRequested(); 76cancellationToken.ThrowIfCancellationRequested(); 84cancellationToken.ThrowIfCancellationRequested(); 88cancellationToken.ThrowIfCancellationRequested();
ExtractMethod\SelectionValidator.cs (2)
79cancellationToken.ThrowIfCancellationRequested(); 155cancellationToken.ThrowIfCancellationRequested();
FindUsages\AbstractFindUsagesService_FindReferences.cs (2)
86cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested();
FindUsages\FindUsagesHelpers.cs (1)
38cancellationToken.ThrowIfCancellationRequested();
Formatting\AbstractNewDocumentFormattingService.cs (1)
39cancellationToken.ThrowIfCancellationRequested();
GoToDefinition\GoToDefinitionFeatureHelpers.cs (1)
47cancellationToken.ThrowIfCancellationRequested();
Highlighting\HighlightingService.cs (1)
32cancellationToken.ThrowIfCancellationRequested();
InlineHints\AbstractInlineParameterNameHintsService.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (1)
402_cancellationToken.ThrowIfCancellationRequested();
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
681cancellationToken.ThrowIfCancellationRequested();
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
321cancellationToken.ThrowIfCancellationRequested();
IntroduceVariable\AbstractIntroduceVariableService.State.cs (1)
65cancellationToken.ThrowIfCancellationRequested();
NavigateTo\NavigateToSearcher.cs (4)
117cancellationToken.ThrowIfCancellationRequested(); 126cancellationToken.ThrowIfCancellationRequested(); 360cancellationToken.ThrowIfCancellationRequested(); 381cancellationToken.ThrowIfCancellationRequested();
Navigation\INavigableLocation.cs (1)
29cancellationToken.ThrowIfCancellationRequested();
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
92cancellationToken.ThrowIfCancellationRequested();
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (8)
193cancellationToken.ThrowIfCancellationRequested(); 247cancellationToken.ThrowIfCancellationRequested(); 287cancellationToken.ThrowIfCancellationRequested(); 327cancellationToken.ThrowIfCancellationRequested(); 372cancellationToken.ThrowIfCancellationRequested(); 382cancellationToken.ThrowIfCancellationRequested(); 408cancellationToken.ThrowIfCancellationRequested(); 453cancellationToken.ThrowIfCancellationRequested();
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (6)
200cancellationToken.ThrowIfCancellationRequested(); 252cancellationToken.ThrowIfCancellationRequested(); 305cancellationToken.ThrowIfCancellationRequested(); 323cancellationToken.ThrowIfCancellationRequested(); 368cancellationToken.ThrowIfCancellationRequested(); 403cancellationToken.ThrowIfCancellationRequested();
SolutionExplorer\ISolutionExplorerSymbolTreeItemProvider.cs (2)
97cancellationToken.ThrowIfCancellationRequested(); 121cancellationToken.ThrowIfCancellationRequested();
SpellCheck\AbstractSpellCheckSpanService.cs (2)
66cancellationToken.ThrowIfCancellationRequested(); 261cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
50cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\RemoveUnnecessaryCast\AbstractRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
58cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (7)
164cancellationToken.ThrowIfCancellationRequested(); 171cancellationToken.ThrowIfCancellationRequested(); 189cancellationToken.ThrowIfCancellationRequested(); 195cancellationToken.ThrowIfCancellationRequested(); 457cancellationToken.ThrowIfCancellationRequested(); 465cancellationToken.ThrowIfCancellationRequested(); 472cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerAnalyzer.cs (1)
130cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
81cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
93cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
354cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
66cancellationToken.ThrowIfCancellationRequested(); 102cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.State.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (5)
101cancellationToken.ThrowIfCancellationRequested(); 150cancellationToken.ThrowIfCancellationRequested(); 190cancellationToken.ThrowIfCancellationRequested(); 205cancellationToken.ThrowIfCancellationRequested(); 214cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.State.cs (1)
60cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (5)
204cancellationToken.ThrowIfCancellationRequested(); 261cancellationToken.ThrowIfCancellationRequested(); 271cancellationToken.ThrowIfCancellationRequested(); 274cancellationToken.ThrowIfCancellationRequested(); 283cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
136cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
81cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (2)
292cancellationToken.ThrowIfCancellationRequested(); 486cancellationToken.ThrowIfCancellationRequested();
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
48cancellationToken.ThrowIfCancellationRequested();
StackTraceExplorer\StackTraceAnalyzer.cs (1)
46cancellationToken.ThrowIfCancellationRequested();
StackTraceExplorer\StackTraceExplorerUtilities.cs (2)
50cancellationToken.ThrowIfCancellationRequested(); 121cancellationToken.ThrowIfCancellationRequested();
Structure\Syntax\BlockSpanCollector.cs (4)
46_cancellationToken.ThrowIfCancellationRequested(); 69_cancellationToken.ThrowIfCancellationRequested(); 86_cancellationToken.ThrowIfCancellationRequested(); 91_cancellationToken.ThrowIfCancellationRequested();
SymbolSearch\Windows\SymbolSearchUpdateEngine.cs (2)
142cancellationToken.ThrowIfCancellationRequested(); 195cancellationToken.ThrowIfCancellationRequested();
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (3)
224cancellationToken.ThrowIfCancellationRequested(); 594cancellationToken.ThrowIfCancellationRequested(); 663cancellationToken.ThrowIfCancellationRequested();
TaskList\AbstractTaskListService.cs (2)
56cancellationToken.ThrowIfCancellationRequested(); 66cancellationToken.ThrowIfCancellationRequested();
ValueTracking\SerializableValueTrackedItem.cs (2)
34cancellationToken.ThrowIfCancellationRequested(); 50cancellationToken.ThrowIfCancellationRequested();
ValueTracking\ValueTracker.cs (1)
288cancellationToken.ThrowIfCancellationRequested();
ValueTracking\ValueTracker.OperationCollector.cs (1)
51cancellationToken.ThrowIfCancellationRequested();
Wrapping\AbstractWrappingCodeRefactoringProvider.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.InteractiveHost (10)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Features\CodeCleanup\AbstractCodeCleanupService.cs (2)
152cancellationToken.ThrowIfCancellationRequested(); 240cancellationToken.ThrowIfCancellationRequested();
Handler\Completion\CompletionHandler.cs (1)
175cancellationToken.ThrowIfCancellationRequested();
Handler\SpellCheck\WorkspaceSpellCheckHandler.cs (1)
76cancellationToken.ThrowIfCancellationRequested();
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\QueueItem.cs (2)
88cancellationToken.ThrowIfCancellationRequested(); 169cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (61)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.PublicApiAnalyzers (56)
DeclarePublicApiAnalyzer.cs (1)
359context.CancellationToken.ThrowIfCancellationRequested();
DeclarePublicApiAnalyzer.Impl.cs (2)
727cancellationToken.ThrowIfCancellationRequested(); 878cancellationToken.ThrowIfCancellationRequested();
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspace.InFlightSolution.cs (1)
137cancellationToken.ThrowIfCancellationRequested();
Services\DiagnosticAnalyzer\RemoteDiagnosticAnalyzerService.cs (1)
98cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Remote.Workspaces (7)
AbstractAssetProvider.cs (1)
126cancellationToken.ThrowIfCancellationRequested();
BrokeredServiceConnection.cs (1)
359cancellationToken.ThrowIfCancellationRequested();
ExportProviderBuilder.cs (1)
180cancellationToken.ThrowIfCancellationRequested();
RemoteCallback.cs (2)
48cancellationToken.ThrowIfCancellationRequested(); 105cancellationToken.ThrowIfCancellationRequested();
RemoteHostAssetWriter.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
SolutionAssetStorage.Scope.cs (1)
47cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.ResxSourceGenerator (53)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Scripting (2)
ScriptExecutionState.cs (2)
88cancellationToken.ThrowIfCancellationRequested(); 104cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Test.Utilities (5)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
2236context.CancellationToken.ThrowIfCancellationRequested(); 2694context.CancellationToken.ThrowIfCancellationRequested(); 2964cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Threading.Package (2)
AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.VisualBasic (63)
Compilation\ClsComplianceChecker.vb (7)
93Me._cancellationToken.ThrowIfCancellationRequested() 134Me._cancellationToken.ThrowIfCancellationRequested() 175Me._cancellationToken.ThrowIfCancellationRequested() 197Me._cancellationToken.ThrowIfCancellationRequested() 250Me._cancellationToken.ThrowIfCancellationRequested() 266Me._cancellationToken.ThrowIfCancellationRequested() 278Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Event.vb (1)
27Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Field.vb (1)
26Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (3)
186cancellationToken.ThrowIfCancellationRequested() 198cancellationToken.ThrowIfCancellationRequested() 268Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (1)
26Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (1)
30Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Namespace.vb (1)
25Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\DocumentationCommentCompiler.Property.vb (1)
26Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (2)
71Me._cancellationToken.ThrowIfCancellationRequested() 91Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\MethodCompiler.vb (3)
497_cancellationToken.ThrowIfCancellationRequested() 529_cancellationToken.ThrowIfCancellationRequested() 1232_cancellationToken.ThrowIfCancellationRequested()
Compilation\SemanticModel.vb (2)
3249cancellationToken.ThrowIfCancellationRequested() 3361cancellationToken.ThrowIfCancellationRequested()
Compilation\SynthesizedMetadataCompiler.vb (2)
41Me._cancellationToken.ThrowIfCancellationRequested() 48Me._cancellationToken.ThrowIfCancellationRequested()
Compilation\VisualBasicCompilation.vb (8)
1710cancellationToken.ThrowIfCancellationRequested() 2167cancellationToken.ThrowIfCancellationRequested() 2178cancellationToken.ThrowIfCancellationRequested() 2255cancellationToken.ThrowIfCancellationRequested() 2531cancellationToken.ThrowIfCancellationRequested() 2558cancellationToken.ThrowIfCancellationRequested() 2581cancellationToken.ThrowIfCancellationRequested() 3275_cancellationToken.ThrowIfCancellationRequested()
Declarations\DeclarationTable.vb (1)
335cancellationToken.ThrowIfCancellationRequested()
Parser\Parser.vb (2)
654_cancellationToken.ThrowIfCancellationRequested() 913_cancellationToken.ThrowIfCancellationRequested()
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
48cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SourceFile.vb (2)
258cancellationToken.ThrowIfCancellationRequested() 266cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SourceMemberContainerTypeSymbol.vb (10)
291cancellationToken.ThrowIfCancellationRequested() 295cancellationToken.ThrowIfCancellationRequested() 304cancellationToken.ThrowIfCancellationRequested() 307cancellationToken.ThrowIfCancellationRequested() 310cancellationToken.ThrowIfCancellationRequested() 313cancellationToken.ThrowIfCancellationRequested() 319cancellationToken.ThrowIfCancellationRequested() 322cancellationToken.ThrowIfCancellationRequested() 325cancellationToken.ThrowIfCancellationRequested() 1155cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SourceModuleSymbol.vb (4)
382cancellationToken.ThrowIfCancellationRequested() 674cancellationToken.ThrowIfCancellationRequested() 736cancellationToken.ThrowIfCancellationRequested() 774cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SourceNamedTypeSymbol.vb (4)
116cancellationToken.ThrowIfCancellationRequested() 119cancellationToken.ThrowIfCancellationRequested() 122cancellationToken.ThrowIfCancellationRequested() 125cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SourceNamespaceSymbol.vb (2)
316cancellationToken.ThrowIfCancellationRequested() 394cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
487cancellationToken.ThrowIfCancellationRequested()
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (1)
60cancellationToken.ThrowIfCancellationRequested()
Symbols\Symbol.vb (1)
907cancellationToken.ThrowIfCancellationRequested()
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
395cancellationToken.ThrowIfCancellationRequested()
Microsoft.CodeAnalysis.Workspaces (169)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (4)
102_cancellationToken.ThrowIfCancellationRequested(); 130_cancellationToken.ThrowIfCancellationRequested(); 159_cancellationToken.ThrowIfCancellationRequested(); 173_cancellationToken.ThrowIfCancellationRequested();
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
130cancellationToken.ThrowIfCancellationRequested(); 185cancellationToken.ThrowIfCancellationRequested();
CodeCleanup\AbstractCodeCleanerService.cs (5)
124cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 330cancellationToken.ThrowIfCancellationRequested(); 477cancellationToken.ThrowIfCancellationRequested(); 555cancellationToken.ThrowIfCancellationRequested();
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
149cancellationToken.ThrowIfCancellationRequested();
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (1)
48cancellationToken.ThrowIfCancellationRequested();
Diagnostics\Extensions.cs (1)
140cancellationToken.ThrowIfCancellationRequested();
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
165cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindLiterals\FindLiteralsSearchEngine.cs (2)
139cancellationToken.ThrowIfCancellationRequested(); 154cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\BaseTypeFinder.cs (1)
43cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\DependentProjectsFinder.cs (5)
76cancellationToken.ThrowIfCancellationRequested(); 168cancellationToken.ThrowIfCancellationRequested(); 206cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested(); 368cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\DependentTypeFinder.cs (11)
70cancellationToken.ThrowIfCancellationRequested(); 134cancellationToken.ThrowIfCancellationRequested(); 144cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 212cancellationToken.ThrowIfCancellationRequested(); 259cancellationToken.ThrowIfCancellationRequested(); 265cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 318cancellationToken.ThrowIfCancellationRequested(); 339cancellationToken.ThrowIfCancellationRequested(); 354cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (2)
193cancellationToken.ThrowIfCancellationRequested(); 387cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (2)
256cancellationToken.ThrowIfCancellationRequested(); 299cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\Finders\PreprocessingSymbolReferenceFinder.cs (1)
50cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (1)
214cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\FindReferenceCache.cs (2)
163cancellationToken.ThrowIfCancellationRequested(); 198cancellationToken.ThrowIfCancellationRequested();
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (1)
322cancellationToken.ThrowIfCancellationRequested();
FindSymbols\ReferenceLocationExtensions.cs (1)
26cancellationToken.ThrowIfCancellationRequested();
FindSymbols\SymbolTree\SymbolTreeInfo.cs (2)
400cancellationToken.ThrowIfCancellationRequested(); 419cancellationToken.ThrowIfCancellationRequested();
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
150cancellationToken.ThrowIfCancellationRequested();
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
50cancellationToken.ThrowIfCancellationRequested();
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (1)
126cancellationToken.ThrowIfCancellationRequested();
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (1)
186cancellationToken.ThrowIfCancellationRequested();
Rename\ConflictEngine\ConflictResolver.cs (2)
53cancellationToken.ThrowIfCancellationRequested(); 114cancellationToken.ThrowIfCancellationRequested();
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
770_cancellationToken.ThrowIfCancellationRequested();
Rename\LightweightRenameLocations.cs (1)
78cancellationToken.ThrowIfCancellationRequested();
Rename\Renamer.cs (2)
153cancellationToken.ThrowIfCancellationRequested(); 195cancellationToken.ThrowIfCancellationRequested();
Serialization\AbstractOptionsSerializationService.cs (3)
26cancellationToken.ThrowIfCancellationRequested(); 105cancellationToken.ThrowIfCancellationRequested(); 210cancellationToken.ThrowIfCancellationRequested();
Serialization\SerializableSourceText.cs (2)
147cancellationToken.ThrowIfCancellationRequested(); 176cancellationToken.ThrowIfCancellationRequested();
Serialization\SerializerService.cs (4)
56cancellationToken.ThrowIfCancellationRequested(); 90cancellationToken.ThrowIfCancellationRequested(); 115cancellationToken.ThrowIfCancellationRequested(); 239cancellationToken.ThrowIfCancellationRequested();
Serialization\SerializerService_Asset.cs (4)
25cancellationToken.ThrowIfCancellationRequested(); 38cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested(); 76cancellationToken.ThrowIfCancellationRequested();
Shared\Extensions\INamespaceSymbolExtensions.cs (4)
66cancellationToken.ThrowIfCancellationRequested(); 90cancellationToken.ThrowIfCancellationRequested(); 111cancellationToken.ThrowIfCancellationRequested(); 118cancellationToken.ThrowIfCancellationRequested();
Shared\Extensions\ITypeSymbolExtensions.cs (1)
92cancellationToken.ThrowIfCancellationRequested();
Shared\Extensions\SourceTextExtensions.cs (1)
213cancellationToken.ThrowIfCancellationRequested();
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (2)
168cancellationToken.ThrowIfCancellationRequested(); 227cancellationToken.ThrowIfCancellationRequested();
TemporaryStorage\TemporaryStorageService.cs (2)
134cancellationToken.ThrowIfCancellationRequested(); 273cancellationToken.ThrowIfCancellationRequested();
Workspace\Host\TextFactory\TextFactoryService.cs (2)
27cancellationToken.ThrowIfCancellationRequested(); 33cancellationToken.ThrowIfCancellationRequested();
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
889cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\ChecksumCollection.cs (2)
78cancellationToken.ThrowIfCancellationRequested(); 101cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\ProjectDependencyGraph.cs (1)
404cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\ProjectState.AnalyzerConfigOptionsCache.cs (1)
44cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\ProjectState.cs (4)
219cancellationToken.ThrowIfCancellationRequested(); 230cancellationToken.ThrowIfCancellationRequested(); 277cancellationToken.ThrowIfCancellationRequested(); 285cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\ProjectState_Checksum.cs (1)
59cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\SolutionCompilationState.cs (1)
1579cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (5)
251cancellationToken.ThrowIfCancellationRequested(); 282cancellationToken.ThrowIfCancellationRequested(); 372cancellationToken.ThrowIfCancellationRequested(); 1048cancellationToken.ThrowIfCancellationRequested(); 1085cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (1)
235cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (3)
36cancellationToken.ThrowIfCancellationRequested(); 145cancellationToken.ThrowIfCancellationRequested(); 212cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\StateChecksums.cs (5)
109cancellationToken.ThrowIfCancellationRequested(); 263cancellationToken.ThrowIfCancellationRequested(); 307cancellationToken.ThrowIfCancellationRequested(); 433cancellationToken.ThrowIfCancellationRequested(); 521cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\TextLoader.cs (1)
151cancellationToken.ThrowIfCancellationRequested();
Workspace\Solution\VersionSource\RecoverableTextAndVersion.RecoverableText.cs (2)
83cancellationToken.ThrowIfCancellationRequested(); 105cancellationToken.ThrowIfCancellationRequested();
Workspace\Workspace.cs (1)
763cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.Worker.cs (2)
129cancellationToken.ThrowIfCancellationRequested(); 153cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\RoslynParallel.cs (1)
41cancellationToken.ThrowIfCancellationRequested();
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
UtilityTest\AsyncLazyTests.cs (4)
53c.ThrowIfCancellationRequested(); 157c.ThrowIfCancellationRequested(); 168c.ThrowIfCancellationRequested(); 204c.ThrowIfCancellationRequested();
UtilityTest\SpecializedTasksTests.cs (3)
215cts.Token.ThrowIfCancellationRequested(); 275unexpectedCts.Token.ThrowIfCancellationRequested(); 342unexpectedCts.Token.ThrowIfCancellationRequested();
Microsoft.CommonLanguageServerProtocol.Framework.Package (2)
QueueItem.cs (2)
88cancellationToken.ThrowIfCancellationRequested(); 169cancellationToken.ThrowIfCancellationRequested();
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (1)
Mocks\TestMethodHandlers.cs (1)
137cancellationToken.ThrowIfCancellationRequested();
Microsoft.DotNet.Build.Tasks.Feed (2)
src\PublishBuildToMaestro.cs (2)
105cancellationToken.ThrowIfCancellationRequested(); 364cancellationToken.ThrowIfCancellationRequested();
Microsoft.DotNet.Helix.Client (2)
Job.cs (2)
18cancellationToken.ThrowIfCancellationRequested(); 28cancellationToken.ThrowIfCancellationRequested();
Microsoft.DotNet.Helix.JobSender (1)
JobDefinition.cs (1)
202cancellationToken.ThrowIfCancellationRequested();
Microsoft.DotNet.Helix.Sdk (15)
AzureDevOpsTask.cs (4)
206cancellationToken.ThrowIfCancellationRequested(); 211cancellationToken.ThrowIfCancellationRequested(); 227cancellationToken.ThrowIfCancellationRequested(); 229cancellationToken.ThrowIfCancellationRequested();
CheckHelixJobStatus.cs (1)
30cancellationToken.ThrowIfCancellationRequested();
DownloadFromResultsContainer.cs (1)
66ct.ThrowIfCancellationRequested();
SendHelixJob.cs (4)
169cancellationToken.ThrowIfCancellationRequested(); 256cancellationToken.ThrowIfCancellationRequested(); 261cancellationToken.ThrowIfCancellationRequested(); 264cancellationToken.ThrowIfCancellationRequested();
WaitForHelixJobCompletion.cs (5)
26cancellationToken.ThrowIfCancellationRequested(); 32cancellationToken.ThrowIfCancellationRequested(); 39cancellationToken.ThrowIfCancellationRequested(); 65cancellationToken.ThrowIfCancellationRequested(); 74cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.AI.Evaluation (2)
Utilities\TaskExtensions.cs (2)
51cancellationToken.ThrowIfCancellationRequested(); 88cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.AI.Evaluation.Reporting (14)
Storage\DiskBasedResponseCache.cs (3)
256cancellationToken.ThrowIfCancellationRequested(); 260cancellationToken.ThrowIfCancellationRequested(); 264cancellationToken.ThrowIfCancellationRequested();
Storage\DiskBasedResultStore.cs (11)
64cancellationToken.ThrowIfCancellationRequested(); 90cancellationToken.ThrowIfCancellationRequested(); 157cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 220cancellationToken.ThrowIfCancellationRequested(); 239cancellationToken.ThrowIfCancellationRequested(); 262cancellationToken.ThrowIfCancellationRequested(); 286cancellationToken.ThrowIfCancellationRequested(); 295cancellationToken.ThrowIfCancellationRequested(); 320cancellationToken.ThrowIfCancellationRequested(); 331cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Storage\AzureStorageResultStore.cs (1)
158cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.AI.Evaluation.Safety (8)
ContentSafetyServicePayloadUtilities.cs (8)
108cancellationToken.ThrowIfCancellationRequested(); 202cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 322cancellationToken.ThrowIfCancellationRequested(); 422cancellationToken.ThrowIfCancellationRequested(); 458cancellationToken.ThrowIfCancellationRequested(); 480cancellationToken.ThrowIfCancellationRequested(); 484cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.AI.Tests (1)
ChatReduction\SummarizingChatReducerTests.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.cs (1)
134cancellationToken.ThrowIfCancellationRequested();
Internal\DefaultHybridCache.StampedeStateT.cs (1)
104token.ThrowIfCancellationRequested(); // get an appropriate exception
Microsoft.Extensions.Caching.Hybrid.Tests (4)
StampedeTests.cs (4)
108ct.ThrowIfCancellationRequested(); // assert not cancelled 144ct.ThrowIfCancellationRequested(); // assert not cancelled 199ct.ThrowIfCancellationRequested(); 277ct.ThrowIfCancellationRequested();
Microsoft.Extensions.Caching.SqlServer (11)
DatabaseOperations.cs (6)
66token.ThrowIfCancellationRequested(); 91token.ThrowIfCancellationRequested(); 98token.ThrowIfCancellationRequested(); 111token.ThrowIfCancellationRequested(); 171token.ThrowIfCancellationRequested(); 262token.ThrowIfCancellationRequested();
SqlServerCache.cs (5)
103token.ThrowIfCancellationRequested(); 139token.ThrowIfCancellationRequested(); 161token.ThrowIfCancellationRequested(); 206token.ThrowIfCancellationRequested(); 224token.ThrowIfCancellationRequested();
Microsoft.Extensions.Caching.StackExchangeRedis (7)
RedisCache.cs (7)
126token.ThrowIfCancellationRequested(); 214token.ThrowIfCancellationRequested(); 269token.ThrowIfCancellationRequested(); 316token.ThrowIfCancellationRequested(); 432token.ThrowIfCancellationRequested(); 549token.ThrowIfCancellationRequested(); 751token.ThrowIfCancellationRequested();
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
76cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
HealthCheckPublisherHostedServiceTest.cs (1)
829cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
85cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetime.cs (1)
125cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Identity.Stores (40)
RoleStoreBase.cs (5)
81cancellationToken.ThrowIfCancellationRequested(); 95cancellationToken.ThrowIfCancellationRequested(); 110cancellationToken.ThrowIfCancellationRequested(); 171cancellationToken.ThrowIfCancellationRequested(); 186cancellationToken.ThrowIfCancellationRequested();
UserStoreBase.cs (35)
118cancellationToken.ThrowIfCancellationRequested(); 132cancellationToken.ThrowIfCancellationRequested(); 147cancellationToken.ThrowIfCancellationRequested(); 162cancellationToken.ThrowIfCancellationRequested(); 177cancellationToken.ThrowIfCancellationRequested(); 275cancellationToken.ThrowIfCancellationRequested(); 290cancellationToken.ThrowIfCancellationRequested(); 305cancellationToken.ThrowIfCancellationRequested(); 429cancellationToken.ThrowIfCancellationRequested(); 451cancellationToken.ThrowIfCancellationRequested(); 466cancellationToken.ThrowIfCancellationRequested(); 482cancellationToken.ThrowIfCancellationRequested(); 497cancellationToken.ThrowIfCancellationRequested(); 513cancellationToken.ThrowIfCancellationRequested(); 528cancellationToken.ThrowIfCancellationRequested(); 557cancellationToken.ThrowIfCancellationRequested(); 572cancellationToken.ThrowIfCancellationRequested(); 587cancellationToken.ThrowIfCancellationRequested(); 603cancellationToken.ThrowIfCancellationRequested(); 618cancellationToken.ThrowIfCancellationRequested(); 634cancellationToken.ThrowIfCancellationRequested(); 649cancellationToken.ThrowIfCancellationRequested(); 665cancellationToken.ThrowIfCancellationRequested(); 680cancellationToken.ThrowIfCancellationRequested(); 697cancellationToken.ThrowIfCancellationRequested(); 712cancellationToken.ThrowIfCancellationRequested(); 728cancellationToken.ThrowIfCancellationRequested(); 744cancellationToken.ThrowIfCancellationRequested(); 760cancellationToken.ThrowIfCancellationRequested(); 779cancellationToken.ThrowIfCancellationRequested(); 830cancellationToken.ThrowIfCancellationRequested(); 856cancellationToken.ThrowIfCancellationRequested(); 877cancellationToken.ThrowIfCancellationRequested(); 916cancellationToken.ThrowIfCancellationRequested(); 968cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Logging.Generators (7)
LoggerMessageGenerator.Emitter.cs (1)
52cancellationToken.ThrowIfCancellationRequested();
LoggerMessageGenerator.Parser.cs (1)
83_cancellationToken.ThrowIfCancellationRequested();
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
133cancellationToken.ThrowIfCancellationRequested();
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithSimpleName.cs (4)
239cancellationToken.ThrowIfCancellationRequested(); 253cancellationToken.ThrowIfCancellationRequested(); 275cancellationToken.ThrowIfCancellationRequested(); 294cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Options.Contextual (2)
Internal\ContextualOptionsFactory.cs (2)
58cancellationToken.ThrowIfCancellationRequested(); 125cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.Options.SourceGeneration (2)
Emitter.cs (1)
66cancellationToken.ThrowIfCancellationRequested();
Parser.cs (1)
56_cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.ServiceDiscovery (5)
ServiceEndpointResolver.cs (1)
52cancellationToken.ThrowIfCancellationRequested();
ServiceEndpointWatcher.cs (4)
65cancellationToken.ThrowIfCancellationRequested(); 83disposalToken.ThrowIfCancellationRequested(); 84cancellationToken.ThrowIfCancellationRequested(); 149cancellationToken.ThrowIfCancellationRequested();
Microsoft.Extensions.ServiceDiscovery.Dns (3)
Resolver\DnsResolver.cs (3)
64cancellationToken.ThrowIfCancellationRequested(); 149cancellationToken.ThrowIfCancellationRequested(); 486cancellationToken.ThrowIfCancellationRequested();
Microsoft.Gen.ComplianceReports (2)
ComplianceReportsGenerator.cs (1)
82context.CancellationToken.ThrowIfCancellationRequested();
Parser.cs (1)
41_cancellationToken.ThrowIfCancellationRequested();
Microsoft.Gen.ContextualOptions (2)
ContextReceiver.cs (1)
28_token.ThrowIfCancellationRequested();
ContextualOptionsGenerator.cs (1)
49context.CancellationToken.ThrowIfCancellationRequested();
Microsoft.Gen.Logging (4)
Emission\Emitter.cs (1)
25cancellationToken.ThrowIfCancellationRequested();
Parsing\Parser.cs (1)
59_cancellationToken.ThrowIfCancellationRequested();
Parsing\Parser.LogProperties.cs (1)
96_cancellationToken.ThrowIfCancellationRequested();
Parsing\Parser.Records.cs (1)
38token.ThrowIfCancellationRequested();
Microsoft.Gen.MetadataExtractor (8)
MetadataReportsGenerator.cs (1)
59context.CancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.ComplianceReports\ComplianceReportsGenerator.cs (1)
82context.CancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.ComplianceReports\Parser.cs (1)
41_cancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
74_cancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.MetricsReports\MetricDefinitionEmitter.cs (3)
32cancellationToken.ThrowIfCancellationRequested(); 50cancellationToken.ThrowIfCancellationRequested(); 88cancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.MetricsReports\MetricsReportsGenerator.cs (1)
39context.CancellationToken.ThrowIfCancellationRequested();
Microsoft.Gen.Metrics (4)
Emitter.cs (2)
37cancellationToken.ThrowIfCancellationRequested(); 70cancellationToken.ThrowIfCancellationRequested();
MetricFactoryEmitter.cs (1)
84cancellationToken.ThrowIfCancellationRequested();
Parser.cs (1)
74_cancellationToken.ThrowIfCancellationRequested();
Microsoft.Gen.MetricsReports (5)
MetricDefinitionEmitter.cs (3)
32cancellationToken.ThrowIfCancellationRequested(); 50cancellationToken.ThrowIfCancellationRequested(); 88cancellationToken.ThrowIfCancellationRequested();
MetricsReportsGenerator.cs (1)
39context.CancellationToken.ThrowIfCancellationRequested();
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
74_cancellationToken.ThrowIfCancellationRequested();
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (2)
273ct.ThrowIfCancellationRequested(); 495ct.ThrowIfCancellationRequested();
ComMethodInfo.cs (1)
88ct.ThrowIfCancellationRequested();
VtableIndexStubGenerator.cs (1)
200ct.ThrowIfCancellationRequested();
Microsoft.Interop.JavaScript.JSImportGenerator (3)
JSExportGenerator.cs (1)
175ct.ThrowIfCancellationRequested();
JSImportGenerator.cs (1)
158ct.ThrowIfCancellationRequested();
JSSignatureContext.cs (1)
36token.ThrowIfCancellationRequested();
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
225ct.ThrowIfCancellationRequested();
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
166ct.ThrowIfCancellationRequested();
Microsoft.Maui (2)
SoftInputExtensions.cs (2)
40 token.ThrowIfCancellationRequested(); 62 token.ThrowIfCancellationRequested();
Microsoft.Maui.Controls (1)
UriImageSource.cs (1)
90 cancellationToken.ThrowIfCancellationRequested();
Microsoft.Maui.Controls.SourceGen (5)
CodeBehindGenerator.cs (5)
150 cancellationToken.ThrowIfCancellationRequested(); 165 cancellationToken.ThrowIfCancellationRequested(); 205 cancellationToken.ThrowIfCancellationRequested(); 392 cancellationToken.ThrowIfCancellationRequested(); 474 cancellationToken.ThrowIfCancellationRequested();
Microsoft.ML.AutoML.Tests (2)
AutoMLExperimentTests.cs (2)
448ct.ThrowIfCancellationRequested(); 450ct.ThrowIfCancellationRequested();
Microsoft.ML.Tokenizers (1)
Utils\Helpers.netstandard.cs (1)
23cancellationToken.ThrowIfCancellationRequested();
Microsoft.VisualStudio.LanguageServices (38)
CallHierarchy\Finders\AbstractCallFinder.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
CallHierarchy\Finders\CallToOverrideFinder.cs (1)
39cancellationToken.ThrowIfCancellationRequested();
CallHierarchy\Finders\ImplementerFinder.cs (1)
48cancellationToken.ThrowIfCancellationRequested();
CallHierarchy\Finders\OverridingMemberFinder.cs (1)
44cancellationToken.ThrowIfCancellationRequested();
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
211cancellationToken.ThrowIfCancellationRequested(); 243cancellationToken.ThrowIfCancellationRequested();
ColorSchemes\ColorSchemeApplier.cs (1)
94cancellationToken.ThrowIfCancellationRequested();
DesignerAttribute\VisualStudioDesignerAttributeService.cs (7)
120cancellationToken.ThrowIfCancellationRequested(); 141cancellationToken.ThrowIfCancellationRequested(); 149cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 247cancellationToken.ThrowIfCancellationRequested(); 257cancellationToken.ThrowIfCancellationRequested(); 267cancellationToken.ThrowIfCancellationRequested();
DocumentOutline\DocumentOutlineViewModel.cs (2)
266cancellationToken.ThrowIfCancellationRequested(); 289cancellationToken.ThrowIfCancellationRequested();
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (2)
213cancellationToken.ThrowIfCancellationRequested(); 230cancellationToken.ThrowIfCancellationRequested();
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (2)
59cancellationToken.ThrowIfCancellationRequested(); 149cancellationToken.ThrowIfCancellationRequested();
Interactive\VsInteractiveWindowPackage.cs (1)
46cancellationToken.ThrowIfCancellationRequested();
KeybindingReset\KeybindingResetDetector.cs (1)
284cancellationToken.ThrowIfCancellationRequested();
LanguageService\AbstractCreateServicesOnTextViewConnection.cs (1)
84cancellationToken.ThrowIfCancellationRequested();
Library\ObjectBrowser\AbstractListItemFactory.cs (3)
472cancellationToken.ThrowIfCancellationRequested(); 494cancellationToken.ThrowIfCancellationRequested(); 522cancellationToken.ThrowIfCancellationRequested();
Packaging\PackageInstallerServiceFactory.cs (3)
393cancellationToken.ThrowIfCancellationRequested(); 487cancellationToken.ThrowIfCancellationRequested(); 577cancellationToken.ThrowIfCancellationRequested();
PullMemberUp\SymbolDependentsBuilder.cs (1)
71_cancellationToken.ThrowIfCancellationRequested();
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (3)
200cancellationToken.ThrowIfCancellationRequested(); 230cancellationToken.ThrowIfCancellationRequested(); 305cancellationToken.ThrowIfCancellationRequested();
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (4)
222cancellationToken.ThrowIfCancellationRequested(); 227cancellationToken.ThrowIfCancellationRequested(); 240cancellationToken.ThrowIfCancellationRequested(); 258cancellationToken.ThrowIfCancellationRequested();
Workspace\VisualStudioActiveDocumentTracker.cs (1)
64cancellationToken.ThrowIfCancellationRequested();
Microsoft.VisualStudio.LanguageServices.Implementation (4)
ProjectSystem\CPS\TempPECompiler.cs (2)
55cancellationToken.ThrowIfCancellationRequested(); 84cancellationToken.ThrowIfCancellationRequested();
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSource.cs (2)
167cancellationToken.ThrowIfCancellationRequested(); 230cancellationToken.ThrowIfCancellationRequested();
Replay (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
Roslyn.Compilers.Extension (1)
CompilerPackage.cs (1)
34cancellationToken.ThrowIfCancellationRequested();
Roslyn.Diagnostics.Analyzers (61)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
Roslyn.Diagnostics.CSharp.Analyzers (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (3)
52cancellationToken.ThrowIfCancellationRequested(); 152_cancellationToken.ThrowIfCancellationRequested(); 164_cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
163cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1010cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
56cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
38_cancellationToken.ThrowIfCancellationRequested();
Roslyn.VisualStudio.DiagnosticsWindow (5)
OptionPages\ForceLowMemoryMode.cs (3)
91_cancellationTokenSource.Token.ThrowIfCancellationRequested(); 114_cancellationTokenSource.Token.ThrowIfCancellationRequested(); 121_cancellationTokenSource.Token.ThrowIfCancellationRequested();
Panels\WorkspacePanel.xaml.cs (1)
89cancellationToken.ThrowIfCancellationRequested();
VisualStudioDiagnosticsWindowPackage.cs (1)
73cancellationToken.ThrowIfCancellationRequested();
RunTests (1)
TestRunner.cs (1)
86cancellationToken.ThrowIfCancellationRequested();
Stress.ApiService (1)
Program.cs (1)
200cancellationToken.ThrowIfCancellationRequested();
System.Collections.Concurrent (8)
System\Collections\Concurrent\BlockingCollection.cs (8)
398cancellationToken.ThrowIfCancellationRequested(); 425cancellationToken.ThrowIfCancellationRequested(); 474cancellationToken.ThrowIfCancellationRequested(); 650cancellationToken.ThrowIfCancellationRequested(); 674cancellationToken.ThrowIfCancellationRequested(); 693cancellationToken.ThrowIfCancellationRequested(); 993externalCancellationToken.ThrowIfCancellationRequested(); //case#3 1391externalCancellationToken.ThrowIfCancellationRequested(); //case#3
System.Diagnostics.Process (1)
System\Diagnostics\Process.cs (1)
1514cancellationToken.ThrowIfCancellationRequested();
System.Formats.Tar (23)
System\Formats\Tar\SubReadStream.cs (1)
153cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarEntry.cs (1)
553cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarFile.cs (4)
361cancellationToken.ThrowIfCancellationRequested(); 382cancellationToken.ThrowIfCancellationRequested(); 480cancellationToken.ThrowIfCancellationRequested(); 500cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarHeader.Read.cs (4)
43cancellationToken.ThrowIfCancellationRequested(); 339cancellationToken.ThrowIfCancellationRequested(); 605cancellationToken.ThrowIfCancellationRequested(); 680cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarHeader.Write.cs (4)
323cancellationToken.ThrowIfCancellationRequested(); 408cancellationToken.ThrowIfCancellationRequested(); 505cancellationToken.ThrowIfCancellationRequested(); 844cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarHelpers.cs (3)
74cancellationToken.ThrowIfCancellationRequested(); 110cancellationToken.ThrowIfCancellationRequested(); 305cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarReader.cs (4)
233cancellationToken.ThrowIfCancellationRequested(); 341cancellationToken.ThrowIfCancellationRequested(); 412cancellationToken.ThrowIfCancellationRequested(); 526cancellationToken.ThrowIfCancellationRequested();
System\Formats\Tar\TarWriter.cs (2)
186cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
System.IO.Compression (38)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
224cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipArchive.Async.cs (7)
67cancellationToken.ThrowIfCancellationRequested(); 180cancellationToken.ThrowIfCancellationRequested(); 191cancellationToken.ThrowIfCancellationRequested(); 234cancellationToken.ThrowIfCancellationRequested(); 278cancellationToken.ThrowIfCancellationRequested(); 318cancellationToken.ThrowIfCancellationRequested(); 403cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipArchiveEntry.Async.cs (16)
24cancellationToken.ThrowIfCancellationRequested(); 42cancellationToken.ThrowIfCancellationRequested(); 57cancellationToken.ThrowIfCancellationRequested(); 112cancellationToken.ThrowIfCancellationRequested(); 121cancellationToken.ThrowIfCancellationRequested(); 149cancellationToken.ThrowIfCancellationRequested(); 163cancellationToken.ThrowIfCancellationRequested(); 183cancellationToken.ThrowIfCancellationRequested(); 190cancellationToken.ThrowIfCancellationRequested(); 198cancellationToken.ThrowIfCancellationRequested(); 208cancellationToken.ThrowIfCancellationRequested(); 232cancellationToken.ThrowIfCancellationRequested(); 263cancellationToken.ThrowIfCancellationRequested(); 288cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 398cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipBlocks.Async.cs (12)
16cancellationToken.ThrowIfCancellationRequested(); 26cancellationToken.ThrowIfCancellationRequested(); 47cancellationToken.ThrowIfCancellationRequested(); 60cancellationToken.ThrowIfCancellationRequested(); 73cancellationToken.ThrowIfCancellationRequested(); 85cancellationToken.ThrowIfCancellationRequested(); 100cancellationToken.ThrowIfCancellationRequested(); 113cancellationToken.ThrowIfCancellationRequested(); 147cancellationToken.ThrowIfCancellationRequested(); 167cancellationToken.ThrowIfCancellationRequested(); 230cancellationToken.ThrowIfCancellationRequested(); 245cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipHelper.Async.cs (2)
19cancellationToken.ThrowIfCancellationRequested(); 93cancellationToken.ThrowIfCancellationRequested();
System.IO.Compression.ZipFile (10)
System\IO\Compression\ZipFile.Create.Async.cs (4)
154cancellationToken.ThrowIfCancellationRequested(); 429cancellationToken.ThrowIfCancellationRequested(); 447cancellationToken.ThrowIfCancellationRequested(); 461cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipFile.Extract.Async.cs (2)
193cancellationToken.ThrowIfCancellationRequested(); 343cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Async.cs (1)
86cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.Async.cs (1)
73cancellationToken.ThrowIfCancellationRequested();
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.Async.cs (2)
70cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.cs (2)
956cancellationToken.ThrowIfCancellationRequested(); 1031cancellationToken.ThrowIfCancellationRequested();
System\IO\Pipelines\PipeAwaitable.cs (1)
66cancellationToken.ThrowIfCancellationRequested();
System.IO.Pipes (1)
System\IO\Pipes\NamedPipeClientStream.cs (1)
138cancellationToken.ThrowIfCancellationRequested();
System.Linq.Parallel (85)
System\Linq\Parallel\Partitioning\HashRepartitionEnumerator.cs (1)
212_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (1)
219_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (1)
302_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (4)
189_cancellationToken.ThrowIfCancellationRequested(); 203_cancellationToken.ThrowIfCancellationRequested(); 278_cancellationToken.ThrowIfCancellationRequested(); 292_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Binary\HashJoinQueryOperatorEnumerator.cs (2)
123_cancellationToken.ThrowIfCancellationRequested(); 254cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (4)
176_cancellationToken.ThrowIfCancellationRequested(); 190_cancellationToken.ThrowIfCancellationRequested(); 277_cancellationToken.ThrowIfCancellationRequested(); 301_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (4)
237_cancellationToken.ThrowIfCancellationRequested(); 265_cancellationToken.ThrowIfCancellationRequested(); 351_cancellationToken.ThrowIfCancellationRequested(); 368_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\CountAggregationOperator.cs (1)
112_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DecimalAverageAggregationOperator.cs (1)
121_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DecimalMinMaxAggregationOperator.cs (2)
140_cancellationToken.ThrowIfCancellationRequested(); 154_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DecimalSumAggregationOperator.cs (1)
106_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DoubleAverageAggregationOperator.cs (1)
122_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DoubleMinMaxAggregationOperator.cs (2)
147_cancellationToken.ThrowIfCancellationRequested(); 161_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\DoubleSumAggregationOperator.cs (1)
106_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\FloatAverageAggregationOperator.cs (1)
122_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\FloatMinMaxAggregationOperator.cs (2)
145_cancellationToken.ThrowIfCancellationRequested(); 158_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\FloatSumAggregationOperator.cs (1)
107_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\IntAverageAggregationOperator.cs (1)
121_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\IntMinMaxAggregationOperator.cs (2)
140_cancellationToken.ThrowIfCancellationRequested(); 154_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\IntSumAggregationOperator.cs (1)
110_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\LongAverageAggregationOperator.cs (1)
121_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\LongCountAggregationOperator.cs (1)
110_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\LongMinMaxAggregationOperator.cs (2)
141_cancellationToken.ThrowIfCancellationRequested(); 155_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\LongSumAggregationOperator.cs (1)
109_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalAverageAggregationOperator.cs (1)
117_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalMinMaxAggregationOperator.cs (2)
139_cancellationToken.ThrowIfCancellationRequested(); 153_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalSumAggregationOperator.cs (1)
106_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleAverageAggregationOperator.cs (1)
119_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleMinMaxAggregationOperator.cs (2)
147_cancellationToken.ThrowIfCancellationRequested(); 162_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleSumAggregationOperator.cs (1)
106_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatAverageAggregationOperator.cs (1)
118_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatMinMaxAggregationOperator.cs (2)
147_cancellationToken.ThrowIfCancellationRequested(); 162_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatSumAggregationOperator.cs (1)
106_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableIntAverageAggregationOperator.cs (1)
118_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableIntMinMaxAggregationOperator.cs (2)
139_cancellationToken.ThrowIfCancellationRequested(); 153_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableIntSumAggregationOperator.cs (1)
109_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableLongAverageAggregationOperator.cs (1)
119_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableLongMinMaxAggregationOperator.cs (2)
140_cancellationToken.ThrowIfCancellationRequested(); 154_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Inlined\NullableLongSumAggregationOperator.cs (1)
110_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\QueryOperator.cs (2)
146querySettings.CancellationState.ExternalCancellationToken.ThrowIfCancellationRequested(); 216querySettings.CancellationState.ExternalCancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (1)
207_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
184_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (2)
158_cancellationToken.ThrowIfCancellationRequested(); 238_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
204_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
181_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
164_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (4)
331_cancellationToken.ThrowIfCancellationRequested(); 393_cancellationToken.ThrowIfCancellationRequested(); 560_cancellationToken.ThrowIfCancellationRequested(); 635_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
175_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
178_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (1)
141_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (2)
284_cancellationToken.ThrowIfCancellationRequested(); 413_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
211_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
274_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\QueryOperators\Unary\WhereQueryOperator.cs (1)
140_cancellationToken.ThrowIfCancellationRequested();
System\Linq\Parallel\Utils\CancellableEnumerable.cs (1)
32token.ThrowIfCancellationRequested();
System\Linq\Parallel\Utils\Sorting.cs (4)
240cancelToken.ThrowIfCancellationRequested(); 439cancelToken.ThrowIfCancellationRequested(); 516cancelToken.ThrowIfCancellationRequested(); 594cancelToken.ThrowIfCancellationRequested();
System.Net.Http (3)
System\Net\Http\MultipartContent.cs (1)
262cancellationToken.ThrowIfCancellationRequested();
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
651cancellationToken.ThrowIfCancellationRequested();
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
589cancellationToken.ThrowIfCancellationRequested();
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.cs (1)
712cancellationToken.ThrowIfCancellationRequested();
System.Net.Quic (6)
src\libraries\Common\src\System\Net\StreamBuffer.cs (2)
156cancellationToken.ThrowIfCancellationRequested(); 240cancellationToken.ThrowIfCancellationRequested();
System\Net\Quic\Internal\ResettableValueTaskSource.cs (1)
250_cancelledToken.ThrowIfCancellationRequested();
System\Net\Quic\QuicConnection.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 398cancellationToken.ThrowIfCancellationRequested();
System\Net\Quic\QuicStream.cs (1)
291cancellationToken.ThrowIfCancellationRequested();
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1867cancellationToken.ThrowIfCancellationRequested();
System.Net.Sockets (1)
System\Net\Sockets\Socket.Tasks.cs (1)
1358cancellationToken.ThrowIfCancellationRequested();
System.Net.WebSockets (2)
System\Net\WebSockets\WebSocketStream.cs (2)
225cancellationToken.ThrowIfCancellationRequested(); 348cancellationToken.ThrowIfCancellationRequested();
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
131externalAndAbortCancellation.Token.ThrowIfCancellationRequested(); // poll in case sends/receives in request/response didn't observe cancellation
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (3)
1104cancellationToken.ThrowIfCancellationRequested(); 1310cancellationToken.ThrowIfCancellationRequested(); 1316cancellationToken.ThrowIfCancellationRequested();
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (3)
490cancellationToken.ThrowIfCancellationRequested(); // an early convenience check 540cancellationToken.ThrowIfCancellationRequested(); 556cancellationToken.ThrowIfCancellationRequested();
src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs (3)
330cancellationToken.ThrowIfCancellationRequested(); 477cancellationToken.ThrowIfCancellationRequested(); 810cancellationToken.ThrowIfCancellationRequested(); // cancellation occurred
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (6)
2685cancellationToken.ThrowIfCancellationRequested(); 2781if (IsCanceled) cancellationToken.ThrowIfCancellationRequested(); 4960cancellationToken.ThrowIfCancellationRequested(); // early check before we make any allocations 5055if (!exceptionSeen) cancellationToken.ThrowIfCancellationRequested(); 5330cancellationToken.ThrowIfCancellationRequested(); // early check before we make any allocations 7042cancellationToken.ThrowIfCancellationRequested();
System.Private.Xml.Linq (12)
System\Xml\Linq\XContainer.cs (3)
859cancellationToken.ThrowIfCancellationRequested(); 876cancellationToken.ThrowIfCancellationRequested(); 1326cancellationToken.ThrowIfCancellationRequested();
System\Xml\Linq\XElement.cs (4)
851cancellationToken.ThrowIfCancellationRequested(); 1192cancellationToken.ThrowIfCancellationRequested(); 2033cancellationTokentoken.ThrowIfCancellationRequested(); 2039cancellationTokentoken.ThrowIfCancellationRequested();
System\Xml\Linq\XLinq.cs (4)
270cancellationToken.ThrowIfCancellationRequested(); 352cancellationToken.ThrowIfCancellationRequested(); 365cancellationToken.ThrowIfCancellationRequested(); 403cancellationToken.ThrowIfCancellationRequested();
System\Xml\Linq\XNode.cs (1)
509cancellationToken.ThrowIfCancellationRequested();
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\ProducerConsumerStream.cs (2)
71cancellationToken.ThrowIfCancellationRequested(); 122cancellationToken.ThrowIfCancellationRequested();
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
142cancellationToken.ThrowIfCancellationRequested();
System.Threading (2)
System\Threading\Barrier.cs (1)
628cancellationToken.ThrowIfCancellationRequested();
System\Threading\CountdownEvent.cs (1)
542cancellationToken.ThrowIfCancellationRequested();
System.Threading.Tasks.Dataflow (2)
Base\DataflowBlock.cs (2)
933cancellationToken.ThrowIfCancellationRequested(); 955if (task.IsCanceled) cancellationToken.ThrowIfCancellationRequested();
System.Threading.Tasks.Parallel (6)
System\Threading\Tasks\Parallel.cs (6)
202parallelOptions.CancellationToken.ThrowIfCancellationRequested(); 287parallelOptions.CancellationToken.ThrowIfCancellationRequested(); 335parallelOptions.CancellationToken.ThrowIfCancellationRequested(); 945parallelOptions.CancellationToken.ThrowIfCancellationRequested(); 1652parallelOptions.CancellationToken.ThrowIfCancellationRequested(); 2533parallelOptions.CancellationToken.ThrowIfCancellationRequested();
System.Windows.Forms.PrivateSourceGenerators (2)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (2)
89context.CancellationToken.ThrowIfCancellationRequested(); 109context.CancellationToken.ThrowIfCancellationRequested();
System.Windows.Forms.Tests (2)
System\Windows\Forms\ControlTests_InvokeAsync.cs (2)
337ct.ThrowIfCancellationRequested(); 364ct.ThrowIfCancellationRequested();
Test.Utilities (52)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
Text.Analyzers (61)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (2)
241_entireQueueCancellationToken.ThrowIfCancellationRequested(); 249_entireQueueCancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
301context.CancellationToken.ThrowIfCancellationRequested();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (1)
97cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SourceTextExtensions_SharedWithCodeStyle.cs (1)
35cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
869cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
111cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
30cancellationToken.ThrowIfCancellationRequested(); 89cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (2)
42cancellationToken.ThrowIfCancellationRequested(); 59cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
247cancellationToken.ThrowIfCancellationRequested(); 490cancellationToken.ThrowIfCancellationRequested(); 502cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
67cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (5)
133cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 173cancellationToken.ThrowIfCancellationRequested(); 280cancellationToken.ThrowIfCancellationRequested(); 441cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (12)
128cancellationToken.ThrowIfCancellationRequested(); 156cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 222cancellationToken.ThrowIfCancellationRequested(); 233cancellationToken.ThrowIfCancellationRequested(); 308cancellationToken.ThrowIfCancellationRequested(); 350cancellationToken.ThrowIfCancellationRequested(); 359cancellationToken.ThrowIfCancellationRequested(); 366cancellationToken.ThrowIfCancellationRequested(); 384cancellationToken.ThrowIfCancellationRequested(); 395cancellationToken.ThrowIfCancellationRequested(); 492cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
68cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
358cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
168cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
211CancellationToken.ThrowIfCancellationRequested(); 470CancellationToken.ThrowIfCancellationRequested(); 556CancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (6)
142cancellationToken.ThrowIfCancellationRequested(); 201cancellationToken.ThrowIfCancellationRequested(); 306cancellationToken.ThrowIfCancellationRequested(); 407cancellationToken.ThrowIfCancellationRequested(); 441callerCancellationToken.ThrowIfCancellationRequested(); 464cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (2)
93cancellationToken.ThrowIfCancellationRequested(); 124cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (6)
386cancellationToken.ThrowIfCancellationRequested(); 397cancellationToken.ThrowIfCancellationRequested(); 550cancellationToken.ThrowIfCancellationRequested(); 573cancellationToken.ThrowIfCancellationRequested(); 596cancellationToken.ThrowIfCancellationRequested(); 617cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamespaceOrTypeSymbolExtensions.cs (1)
99cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (1)
145cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
303cancellationToken.ThrowIfCancellationRequested(); 335cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (4)
132cancellationToken.ThrowIfCancellationRequested(); 192cancellationToken.ThrowIfCancellationRequested(); 200cancellationToken.ThrowIfCancellationRequested(); 204cancellationToken.ThrowIfCancellationRequested();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
196cancellationToken.ThrowIfCancellationRequested();
vbc (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
VBCSCompiler (6)
src\Compilers\Shared\BuildProtocol.cs (4)
147cancellationToken.ThrowIfCancellationRequested(); 170cancellationToken.ThrowIfCancellationRequested(); 175cancellationToken.ThrowIfCancellationRequested(); 293cancellationToken.ThrowIfCancellationRequested();
src\Compilers\Shared\BuildServerConnection.cs (2)
383cancellationToken.ThrowIfCancellationRequested(); 413cancellationToken.ThrowIfCancellationRequested();
VBCSCompiler.UnitTests (1)
Extensions.cs (1)
52cancellationToken.ThrowIfCancellationRequested();