13 references to GetLocalFunctionControlFlowGraph
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (11)
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (4)
854
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraph
(null));
855
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraph
(lambdaD1.Symbol));
912
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraph
(null));
913
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraph
(lambdaD1.Symbol));
IOperation\IOperationTests_ILocalFunctionStatement.cs (7)
1802
var graphD1 = graphM.
GetLocalFunctionControlFlowGraph
(localFunctionD1);
1812
var graphD2 = graphD1.
GetLocalFunctionControlFlowGraph
(localFunctionD2);
1816
Assert.Throws<ArgumentNullException>(() => graphM.
GetLocalFunctionControlFlowGraph
(null));
1817
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetLocalFunctionControlFlowGraph
(localFunctionD2));
1858
var graphD1 = graphM.
GetLocalFunctionControlFlowGraph
(localFunctionD1);
1861
var graphD2 = graphM.
GetLocalFunctionControlFlowGraph
(localFunctionD2);
1868
Assert.Throws<ArgumentOutOfRangeException>(() => graphD2.
GetLocalFunctionControlFlowGraph
(localFunctionD1));
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (2)
331
Assert.Same(g, graph.
GetLocalFunctionControlFlowGraph
(m));
1522
var g = graph.
GetLocalFunctionControlFlowGraph
(method);