56 references to ControlFlowGraphVerifier
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\ObjectAndCollectionInitializerTests.cs (4)
1110var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 1111ControlFlowGraphVerifier.VerifyGraph(comp, """ 3592var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3593ControlFlowGraphVerifier.VerifyGraph(comp, """
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (34)
CodeGen\IndexAndRangeTests.cs (34)
129var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 130ControlFlowGraphVerifier.VerifyGraph(comp, """ 335var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 336ControlFlowGraphVerifier.VerifyGraph(comp, """ 422var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 423ControlFlowGraphVerifier.VerifyGraph(comp, """ 509var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 510ControlFlowGraphVerifier.VerifyGraph(comp, """ 693var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 694ControlFlowGraphVerifier.VerifyGraph(comp, """ 1618var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 1619ControlFlowGraphVerifier.VerifyGraph(comp, """ 1811var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 1812ControlFlowGraphVerifier.VerifyGraph(comp, """ 2347var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 2348ControlFlowGraphVerifier.VerifyGraph(comp, """ 2681var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 2682ControlFlowGraphVerifier.VerifyGraph(comp, """ 2844var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 2845ControlFlowGraphVerifier.VerifyGraph(comp, """ 3022var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3023ControlFlowGraphVerifier.VerifyGraph(comp, """ 3136var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3137ControlFlowGraphVerifier.VerifyGraph(comp, """ 3357var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3358ControlFlowGraphVerifier.VerifyGraph(comp, """ 3644var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3645ControlFlowGraphVerifier.VerifyGraph(comp, """ 3734var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3735ControlFlowGraphVerifier.VerifyGraph(comp, """ 3820var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3821ControlFlowGraphVerifier.VerifyGraph(comp, """ 3893var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(node.Parent.Parent, model); 3894ControlFlowGraphVerifier.VerifyGraph(comp, """
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
2770ControlFlowGraphVerifier.VerifyGraph(compilation, expectedFlowGraph, actualFlowGraph, associatedSymbol);
Semantics\PatternMatchingTests.cs (4)
11428var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(syntax, model); 11429ControlFlowGraphVerifier.VerifyGraph(comp, 11485var (graph, symbol) = ControlFlowGraphVerifier.GetControlFlowGraph(syntax, model); 11486ControlFlowGraphVerifier.VerifyGraph(comp,
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
504ControlFlowGraphVerifier.VerifyGraph(comp, """
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefFieldTests.cs (2)
29411ControlFlowGraphVerifier.VerifyGraph(comp, 29465ControlFlowGraphVerifier.VerifyGraph(comp,
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2101(ControlFlowGraph graph, ISymbol associatedSymbol) = ControlFlowGraphVerifier.GetControlFlowGraph(syntaxNode, model); 2102ControlFlowGraphVerifier.VerifyGraph(compilation, expectedFlowGraph, graph, associatedSymbol);
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\CompilationExtensions.cs (3)
369ControlFlowGraphVerifier.GetFlowGraph(compilation, ControlFlowGraphBuilder.Create(blockOperation), associatedSymbol); 378ControlFlowGraphVerifier.GetFlowGraph(compilation, ControlFlowGraphBuilder.Create(root), associatedSymbol); 385ControlFlowGraphVerifier.GetFlowGraph(compilation, ControlFlowGraphBuilder.Create(root), associatedSymbol);
Microsoft.CodeAnalysis.UnitTests (2)
Diagnostics\OperationTests.cs (2)
356ControlFlowGraphVerifier.VerifyGraph(compilation, expectedCfg, cfgFromSyntax, cfgSymbol); 357ControlFlowGraphVerifier.VerifyGraph(compilation, expectedCfg, cfgFromOperation, cfgSymbol);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1619ControlFlowGraphVerifier.VerifyGraph(compilation, expectedFlowGraph, actualFlowGraphAndSymbol.Graph, actualFlowGraphAndSymbol.AssociatedSymbol)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
BasicTestBase.vb (2)
831Dim graphAndSymbol As (Graph As FlowAnalysis.ControlFlowGraph, AssociatedSymbol As ISymbol) = ControlFlowGraphVerifier.GetControlFlowGraph(syntaxNode, model) 832ControlFlowGraphVerifier.VerifyGraph(compilation, expectedFlowGraph, graphAndSymbol.Graph, graphAndSymbol.AssociatedSymbol)