3 writes to AnalysisDataForUnhandledThrowOperations
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (3)
729
AnalysisDataForUnhandledThrowOperations
??= [];
915
AnalysisDataForUnhandledThrowOperations
??= [];
2152
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)
168
mergedDataForUnhandledThrowOperations, OperationVisitor.
AnalysisDataForUnhandledThrowOperations
,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (16)
460
if (
AnalysisDataForUnhandledThrowOperations
!= null && block.IsFirstBlockOfFinally(out _))
482
if (
AnalysisDataForUnhandledThrowOperations
!= null && block.IsLastBlockOfFinally(out var finallyRegion))
484
foreach (var (exceptionInfo, dataAtException) in
AnalysisDataForUnhandledThrowOperations
)
731
AnalysisDataForUnhandledThrowOperations
[info] = GetClonedCurrentAnalysisData();
916
if (!
AnalysisDataForUnhandledThrowOperations
.TryGetValue(DefaultThrownExceptionInfo, out TAnalysisData? data) ||
925
AnalysisDataForUnhandledThrowOperations
[DefaultThrownExceptionInfo] = data!;
1023
if (
AnalysisDataForUnhandledThrowOperations
== null)
1029
foreach (TAnalysisData data in
AnalysisDataForUnhandledThrowOperations
.Values)
2167
RoslynDebug.Assert(
AnalysisDataForUnhandledThrowOperations
!= null);
2172
if (!
AnalysisDataForUnhandledThrowOperations
.TryGetValue(exceptionInfo, out var existingAnalysisDataAtException))
2174
AnalysisDataForUnhandledThrowOperations
.Add(exceptionInfo, analysisDataAtException);
2180
AnalysisDataForUnhandledThrowOperations
[exceptionInfo] = mergedAnalysisDataAtException;
3761
if (
AnalysisDataForUnhandledThrowOperations
?.Count > 0)
3763
foreach (ThrownExceptionInfo pendingThrow in
AnalysisDataForUnhandledThrowOperations
.Keys.ToArray())
3768
var exceptionData =
AnalysisDataForUnhandledThrowOperations
[pendingThrow];
3774
AnalysisDataForUnhandledThrowOperations
.Remove(pendingThrow);