3 writes to AnalysisDataForUnhandledThrowOperations
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (3)
731
AnalysisDataForUnhandledThrowOperations
??= [];
917
AnalysisDataForUnhandledThrowOperations
??= [];
2154
AnalysisDataForUnhandledThrowOperations
??= [];
21 references to AnalysisDataForUnhandledThrowOperations
Microsoft.CodeAnalysis.AnalyzerUtilities (21)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (4)
703
AnalysisDataForUnhandledThrowOperations
!= null &&
704
AnalysisDataForUnhandledThrowOperations
.Values.Any(HasAnyAbstractValue))
708
foreach (var dataAtException in
AnalysisDataForUnhandledThrowOperations
.Values)
717
foreach (var dataAtException in
AnalysisDataForUnhandledThrowOperations
.Values)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (1)
170
mergedDataForUnhandledThrowOperations, OperationVisitor.
AnalysisDataForUnhandledThrowOperations
,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (16)
462
if (
AnalysisDataForUnhandledThrowOperations
!= null && block.IsFirstBlockOfFinally(out _))
484
if (
AnalysisDataForUnhandledThrowOperations
!= null && block.IsLastBlockOfFinally(out var finallyRegion))
486
foreach (var (exceptionInfo, dataAtException) in
AnalysisDataForUnhandledThrowOperations
)
733
AnalysisDataForUnhandledThrowOperations
[info] = GetClonedCurrentAnalysisData();
918
if (!
AnalysisDataForUnhandledThrowOperations
.TryGetValue(DefaultThrownExceptionInfo, out TAnalysisData? data) ||
927
AnalysisDataForUnhandledThrowOperations
[DefaultThrownExceptionInfo] = data!;
1025
if (
AnalysisDataForUnhandledThrowOperations
== null)
1031
foreach (TAnalysisData data in
AnalysisDataForUnhandledThrowOperations
.Values)
2169
RoslynDebug.Assert(
AnalysisDataForUnhandledThrowOperations
!= null);
2174
if (!
AnalysisDataForUnhandledThrowOperations
.TryGetValue(exceptionInfo, out var existingAnalysisDataAtException))
2176
AnalysisDataForUnhandledThrowOperations
.Add(exceptionInfo, analysisDataAtException);
2182
AnalysisDataForUnhandledThrowOperations
[exceptionInfo] = mergedAnalysisDataAtException;
3763
if (
AnalysisDataForUnhandledThrowOperations
?.Count > 0)
3765
foreach (ThrownExceptionInfo pendingThrow in
AnalysisDataForUnhandledThrowOperations
.Keys.ToArray())
3770
var exceptionData =
AnalysisDataForUnhandledThrowOperations
[pendingThrow];
3776
AnalysisDataForUnhandledThrowOperations
.Remove(pendingThrow);