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