9 references to GetAnonymousFunctionControlFlowGraph
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (7)
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (7)
859
var graphD1 = graphM.
GetAnonymousFunctionControlFlowGraph
(lambdaD1);
866
var graphD2 = graphD1.
GetAnonymousFunctionControlFlowGraph
(lambdaD2);
870
Assert.Throws<ArgumentNullException>(() => graphM.
GetAnonymousFunctionControlFlowGraph
(null));
871
Assert.Throws<ArgumentOutOfRangeException>(() => graphM.
GetAnonymousFunctionControlFlowGraph
(lambdaD2));
917
var graphD1 = graphM.
GetAnonymousFunctionControlFlowGraph
(lambdaD1);
920
var graphD2 = graphM.
GetAnonymousFunctionControlFlowGraph
(lambdaD2);
927
Assert.Throws<ArgumentOutOfRangeException>(() => graphD2.
GetAnonymousFunctionControlFlowGraph
(lambdaD1));
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (2)
340
Assert.Same(pair.Value, graph.
GetAnonymousFunctionControlFlowGraph
(pair.Key));
1823
var g = _graph.
GetAnonymousFunctionControlFlowGraph
(operation);