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