107 references to VerifyOperationTreeForTest
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
BreakingChanges.cs (1)
585VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (51)
Semantics\CollectionExpressionTests.cs (46)
602VerifyOperationTreeForTest<BlockSyntax>(comp, 9353VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 10088VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 10151VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 10236VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 10321VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 16398VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, """ 16475VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28383VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28503VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28629VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28696VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28758VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28840VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28909VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 28967VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29037VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29115var operation = VerifyOperationTreeForTest<ReturnStatementSyntax>(comp, """ 29182var operation = VerifyOperationTreeForTest<ReturnStatementSyntax>(comp, """ 29223VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, """ 29303VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29355VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29413VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29545VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29586VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29621VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29670VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29748VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29835VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 29913VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 30006VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 30097VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 30165VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41254VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41300VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41342VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41392VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41437VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41486VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41545VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41575VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41621VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41651VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41709VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41742VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 41808VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp,
Semantics\ExtensionTests2.cs (1)
32848VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, """
Semantics\ParamsCollectionTests.cs (3)
14569VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """ 14660VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """ 14787VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """
Semantics\PatternMatchingTests3.cs (1)
3007VerifyOperationTreeForTest<SwitchExpressionSyntax>(compilation, @"
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (38)
IOperation\IOperationTests_IArgument.cs (6)
2853VerifyOperationTreeForTest<InvocationExpressionSyntax>(comp, expectedOperationTree); 2899VerifyOperationTreeForTest<ObjectCreationExpressionSyntax>(comp, expectedOperationTree); 2948VerifyOperationTreeForTest<ElementAccessExpressionSyntax>(comp, expectedOperationTree); 4014VerifyOperationTreeForTest<ObjectCreationExpressionSyntax>(comp, expectedOperationTree); 4052VerifyOperationTreeForTest<StatementSyntax>(comp, expectedOperationTree); 4095var operation = VerifyOperationTreeForTest<StatementSyntax>(comp, expectedOperationTree);
IOperation\IOperationTests_IBinaryOperatorExpression.cs (9)
8051var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8081var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8109var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8137var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8162var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8193var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8223var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8251var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8279var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IDelegateCreationExpression.cs (1)
2070VerifyOperationTreeForTest<CastExpressionSyntax>(comp, expectedOperationTree);
IOperation\IOperationTests_IForEachLoopStatement.cs (7)
1727VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, expectedOperationTree); 1782VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, expectedOperationTree); 1835VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, expectedOperationTree); 1896VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, expectedOperationTree); 2781var op = (Operations.ForEachLoopOperation)VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, @"IForEachLoopOperation (LoopKind.ForEach, IsAsynchronous, Continue Label Id: 0, Exit Label Id: 1) (OperationKind.Loop, Type: null) (Syntax: 'await forea ... }') 2913var op = (Operations.ForEachLoopOperation)VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, @"IForEachLoopOperation (LoopKind.ForEach, IsAsynchronous, Continue Label Id: 0, Exit Label Id: 1) (OperationKind.Loop, Type: null) (Syntax: 'await forea ... }') 3005var op = (Operations.ForEachLoopOperation)VerifyOperationTreeForTest<ForEachStatementSyntax>(comp, @"
IOperation\IOperationTests_IIsPatternExpression.cs (9)
745VerifyOperationTreeForTest<BlockSyntax>(compilation, expectedOperationTree); 1360VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1412VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1459VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1503VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1550VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1595VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1640VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree); 1685VerifyOperationTreeForTest<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IThrowOperation.cs (2)
2206VerifyOperationTreeForTest<BlockSyntax>(compilation, expectedOperationTree); 2305VerifyOperationTreeForTest<BlockSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IUnaryOperatorExpression.cs (3)
3638var operation = (IUnaryOperation)VerifyOperationTreeForTest<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree); 3661var operation = (IUnaryOperation)VerifyOperationTreeForTest<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree); 3687var operation = (IUnaryOperation)VerifyOperationTreeForTest<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_TryCatch.cs (1)
8058VerifyOperationTreeForTest<BlockSyntax>(comp, expectedIoperationTree);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\FunctionPointerTests.cs (8)
644VerifyOperationTreeForTest<AssignmentExpressionSyntax>(comp, @" 691VerifyOperationTreeForTest<AssignmentExpressionSyntax>(comp, @" 739VerifyOperationTreeForTest<VariableDeclarationSyntax>(comp, @" 780VerifyOperationTreeForTest<VariableDeclarationSyntax>(comp, @" 3710VerifyOperationTreeForTest<ObjectCreationExpressionSyntax>(comp, expectedOperationTree: @" 3734VerifyOperationTreeForTest<ElementAccessExpressionSyntax>(comp, expectedOperationTree: @" 3880VerifyOperationTreeForTest<InvocationExpressionSyntax>(comp, expectedOperationTree: @" 3959VerifyOperationTreeForTest<BlockSyntax>(comp, expectedOperationTree: @"
Semantics\InterpolationTests.cs (6)
4241VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 4282VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 4320VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 16847VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 17327VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 18711VerifyOperationTreeForTest<ForEachVariableStatementSyntax>(comp, expectedOperationTree: """
Semantics\RawInterpolationTests_Handler.cs (2)
11884VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 12364VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2699VerifyOperationTreeForTest<TSyntaxNode>(compilation, expectedOperationTree, additionalOperationTreeVerifier);