86 references to VerifyOperationTreeForTest
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
BreakingChanges.cs (1)
585
VerifyOperationTreeForTest
<LocalDeclarationStatementSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (30)
Semantics\CollectionExpressionTests.cs (26)
602
VerifyOperationTreeForTest
<BlockSyntax>(comp,
7513
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
8248
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
8311
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
8396
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
8481
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
14558
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
14633
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
25991
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26111
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26237
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26304
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26366
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26448
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26517
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26575
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26645
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26723
var operation =
VerifyOperationTreeForTest
<ReturnStatementSyntax>(comp,
26785
var operation =
VerifyOperationTreeForTest
<ReturnStatementSyntax>(comp,
26820
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26892
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
26944
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
27002
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
27136
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
27177
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
27212
VerifyOperationTreeForTest
<CollectionExpressionSyntax>(comp,
Semantics\ParamsCollectionTests.cs (3)
14585
VerifyOperationTreeForTest
<MethodDeclarationSyntax>(comp, """
14676
VerifyOperationTreeForTest
<MethodDeclarationSyntax>(comp, """
14803
VerifyOperationTreeForTest
<MethodDeclarationSyntax>(comp, """
Semantics\PatternMatchingTests3.cs (1)
3010
VerifyOperationTreeForTest
<SwitchExpressionSyntax>(compilation, @"
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (38)
IOperation\IOperationTests_IArgument.cs (6)
2853
VerifyOperationTreeForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree);
2899
VerifyOperationTreeForTest
<ObjectCreationExpressionSyntax>(comp, expectedOperationTree);
2948
VerifyOperationTreeForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree);
4014
VerifyOperationTreeForTest
<ObjectCreationExpressionSyntax>(comp, expectedOperationTree);
4052
VerifyOperationTreeForTest
<StatementSyntax>(comp, expectedOperationTree);
4095
var operation =
VerifyOperationTreeForTest
<StatementSyntax>(comp, expectedOperationTree);
IOperation\IOperationTests_IBinaryOperatorExpression.cs (9)
8052
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8082
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8110
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8138
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8163
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8194
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8224
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8252
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
8280
var operation = (IRangeOperation)
VerifyOperationTreeForTest
<RangeExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IDelegateCreationExpression.cs (1)
2070
VerifyOperationTreeForTest
<CastExpressionSyntax>(comp, expectedOperationTree);
IOperation\IOperationTests_IForEachLoopStatement.cs (7)
1727
VerifyOperationTreeForTest
<ForEachStatementSyntax>(comp, expectedOperationTree);
1782
VerifyOperationTreeForTest
<ForEachStatementSyntax>(comp, expectedOperationTree);
1835
VerifyOperationTreeForTest
<ForEachStatementSyntax>(comp, expectedOperationTree);
1896
VerifyOperationTreeForTest
<ForEachStatementSyntax>(comp, expectedOperationTree);
2781
var 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 ... }')
2913
var 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 ... }')
3005
var op = (Operations.ForEachLoopOperation)
VerifyOperationTreeForTest
<ForEachStatementSyntax>(comp, @"
IOperation\IOperationTests_IIsPatternExpression.cs (9)
745
VerifyOperationTreeForTest
<BlockSyntax>(compilation, expectedOperationTree);
1360
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1412
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1459
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1503
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1550
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1595
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1640
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
1685
VerifyOperationTreeForTest
<IsPatternExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IThrowOperation.cs (2)
2206
VerifyOperationTreeForTest
<BlockSyntax>(compilation, expectedOperationTree);
2305
VerifyOperationTreeForTest
<BlockSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_IUnaryOperatorExpression.cs (3)
3638
var operation = (IUnaryOperation)
VerifyOperationTreeForTest
<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree);
3661
var operation = (IUnaryOperation)
VerifyOperationTreeForTest
<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree);
3687
var operation = (IUnaryOperation)
VerifyOperationTreeForTest
<PrefixUnaryExpressionSyntax>(compilation, expectedOperationTree);
IOperation\IOperationTests_TryCatch.cs (1)
8058
VerifyOperationTreeForTest
<BlockSyntax>(comp, expectedIoperationTree);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\FunctionPointerTests.cs (8)
643
VerifyOperationTreeForTest
<AssignmentExpressionSyntax>(comp, @"
690
VerifyOperationTreeForTest
<AssignmentExpressionSyntax>(comp, @"
738
VerifyOperationTreeForTest
<VariableDeclarationSyntax>(comp, @"
779
VerifyOperationTreeForTest
<VariableDeclarationSyntax>(comp, @"
3723
VerifyOperationTreeForTest
<ObjectCreationExpressionSyntax>(comp, expectedOperationTree: @"
3747
VerifyOperationTreeForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree: @"
3893
VerifyOperationTreeForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree: @"
3972
VerifyOperationTreeForTest
<BlockSyntax>(comp, expectedOperationTree: @"
Semantics\InterpolationTests.cs (6)
4240
VerifyOperationTreeForTest
<LocalDeclarationStatementSyntax>(comp, @"
4281
VerifyOperationTreeForTest
<LocalDeclarationStatementSyntax>(comp, @"
4319
VerifyOperationTreeForTest
<LocalDeclarationStatementSyntax>(comp, @"
16434
VerifyOperationTreeForTest
<BinaryExpressionSyntax>(comp, @"
16913
VerifyOperationTreeForTest
<BinaryExpressionSyntax>(comp, @"
18297
VerifyOperationTreeForTest
<ForEachVariableStatementSyntax>(comp, expectedOperationTree: """
Semantics\RawInterpolationTests_Handler.cs (2)
11866
VerifyOperationTreeForTest
<BinaryExpressionSyntax>(comp, @"
12345
VerifyOperationTreeForTest
<BinaryExpressionSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2126
VerifyOperationTreeForTest
<TSyntaxNode>(compilation, expectedOperationTree, additionalOperationTreeVerifier);