private DataFlowAnalyzer( ControlFlowGraph cfg, IMethodSymbol lambdaOrLocalFunction, FlowGraphAnalysisData parentAnalysisData) { _analysisData = FlowGraphAnalysisData.Create(cfg, lambdaOrLocalFunction, parentAnalysisData); var entryBlockAnalysisData = GetEmptyAnalysisData(); entryBlockAnalysisData.SetAnalysisDataFrom(parentAnalysisData.CurrentBlockAnalysisData); _analysisData.SetBlockAnalysisData(cfg.EntryBlock(), entryBlockAnalysisData); }
private DataFlowAnalyzer(ControlFlowGraph cfg, ISymbol owningSymbol) { _analysisData = FlowGraphAnalysisData.Create(cfg, owningSymbol, AnalyzeLocalFunctionOrLambdaInvocation); }
private DataFlowAnalyzer(ControlFlowGraph cfg, ISymbol owningSymbol, CancellationToken cancellationToken) { _analysisData = FlowGraphAnalysisData.Create(cfg, owningSymbol, AnalyzeLocalFunctionOrLambdaInvocation); _cancellationToken = cancellationToken; }