106 references to VerifyOperationTreeForTest
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
BreakingChanges.cs (1)
585VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (50)
Semantics\CollectionExpressionTests.cs (46)
602VerifyOperationTreeForTest<BlockSyntax>(comp, 7513VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 8248VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 8311VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 8396VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 8481VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 14571VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 14646VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26004VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26124VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26250VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26317VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26379VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26461VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26530VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26588VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26658VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26736var operation = VerifyOperationTreeForTest<ReturnStatementSyntax>(comp, 26798var operation = VerifyOperationTreeForTest<ReturnStatementSyntax>(comp, 26833VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26905VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 26957VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27015VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27149VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27190VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27225VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27274VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27352VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27439VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27517VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27610VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27701VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 27769VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38338VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38384VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38426VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38476VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38521VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38570VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38629VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38659VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38705VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38735VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38793VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38826VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, 38892VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp,
Semantics\ParamsCollectionTests.cs (3)
14585VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """ 14676VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """ 14803VerifyOperationTreeForTest<MethodDeclarationSyntax>(comp, """
Semantics\PatternMatchingTests3.cs (1)
3010VerifyOperationTreeForTest<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)
8052var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8082var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8110var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8138var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8163var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8194var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8224var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8252var operation = (IRangeOperation)VerifyOperationTreeForTest<RangeExpressionSyntax>(compilation, expectedOperationTree); 8280var 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)
643VerifyOperationTreeForTest<AssignmentExpressionSyntax>(comp, @" 690VerifyOperationTreeForTest<AssignmentExpressionSyntax>(comp, @" 738VerifyOperationTreeForTest<VariableDeclarationSyntax>(comp, @" 779VerifyOperationTreeForTest<VariableDeclarationSyntax>(comp, @" 3723VerifyOperationTreeForTest<ObjectCreationExpressionSyntax>(comp, expectedOperationTree: @" 3747VerifyOperationTreeForTest<ElementAccessExpressionSyntax>(comp, expectedOperationTree: @" 3893VerifyOperationTreeForTest<InvocationExpressionSyntax>(comp, expectedOperationTree: @" 3972VerifyOperationTreeForTest<BlockSyntax>(comp, expectedOperationTree: @"
Semantics\InterpolationTests.cs (6)
4241VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 4282VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 4320VerifyOperationTreeForTest<LocalDeclarationStatementSyntax>(comp, @" 16448VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 16928VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 18312VerifyOperationTreeForTest<ForEachVariableStatementSyntax>(comp, expectedOperationTree: """
Semantics\RawInterpolationTests_Handler.cs (2)
11875VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @" 12355VerifyOperationTreeForTest<BinaryExpressionSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2634VerifyOperationTreeForTest<TSyntaxNode>(compilation, expectedOperationTree, additionalOperationTreeVerifier);