16 references to GetLocalFunctionControlFlowGraphInScope
Microsoft.CodeAnalysis.CodeStyle (3)
SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
261
var localFunctionGraph = cfg.
GetLocalFunctionControlFlowGraphInScope
(invocation.TargetMethod.OriginalDefinition, cancellationToken);
330
var localFunctionCfg = localFunctionAccessingCfg.
GetLocalFunctionControlFlowGraphInScope
(localFunction, cancellationToken);
495
var localFunctionCfg = accessingCfg.
GetLocalFunctionControlFlowGraphInScope
(localFunction, cancellationToken);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (9)
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (4)
856
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(null));
857
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(lambdaD1.Symbol));
914
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(null));
915
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(lambdaD1.Symbol));
IOperation\IOperationTests_ILocalFunctionStatement.cs (5)
1805
var graphD1_FromExtension = graphM.
GetLocalFunctionControlFlowGraphInScope
(localFunctionD1);
1818
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(null));
1819
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraphInScope
(localFunctionD2));
1865
var graphD1_FromExtension = graphM.
GetLocalFunctionControlFlowGraphInScope
(localFunctionD1);
1869
graphD1_FromExtension = graphD2.
GetLocalFunctionControlFlowGraphInScope
(localFunctionD1);
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
332
Assert.Same(g, graph.
GetLocalFunctionControlFlowGraphInScope
(m));
Microsoft.CodeAnalysis.Workspaces (3)
SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
261
var localFunctionGraph = cfg.
GetLocalFunctionControlFlowGraphInScope
(invocation.TargetMethod.OriginalDefinition, cancellationToken);
330
var localFunctionCfg = localFunctionAccessingCfg.
GetLocalFunctionControlFlowGraphInScope
(localFunction, cancellationToken);
495
var localFunctionCfg = accessingCfg.
GetLocalFunctionControlFlowGraphInScope
(localFunction, cancellationToken);