92 references to VerifyOperationTreeAndDiagnosticsForTest
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (90)
IOperation\FunctionPointerOperations.cs (12)
43
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
73
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
103
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
130
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
158
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
188
VerifyOperationTreeAndDiagnosticsForTest
<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
249
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
278
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
309
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
340
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
371
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
442
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests.cs (1)
43
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, diagnostics);
IOperation\IOperationTests_IArgument.cs (18)
1467
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, expectedDiagnostics0);
1474
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1513
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1520
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1559
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1566
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1604
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1611
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1650
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1657
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
2457
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
2521
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
2609
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
2665
VerifyOperationTreeAndDiagnosticsForTest
<InvocationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
2723
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
2808
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
3862
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
3957
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IArrayElementReferenceExpression.cs (2)
1709
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2081
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_ICoalesceAssignmentOperation.cs (2)
250
VerifyOperationTreeAndDiagnosticsForTest
<AssignmentExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
319
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
IOperation\IOperationTests_IConditionalAccessExpression.cs (1)
132
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IConversionExpression.cs (4)
3403
VerifyOperationTreeAndDiagnosticsForTest
<VariableDeclaratorSyntax>(comp, expectedOperationTree, expectedDiagnostics,
3435
VerifyOperationTreeAndDiagnosticsForTest
<VariableDeclaratorSyntax>(comp, expectedOperationTree, expectedDiagnostics,
3451
VerifyOperationTreeAndDiagnosticsForTest
<VariableDeclaratorSyntax>(comp, expectedOperationTree, expectedDiagnostics,
5320
VerifyOperationTreeAndDiagnosticsForTest
<CastExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IForEachLoopStatement.cs (17)
5888
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, @"
6012
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, @"
6135
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, @"
6253
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, @"
6366
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedDiagnostics: DiagnosticDescription.None, expectedOperationTree: @"
6516
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, @"
6655
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
6794
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
6948
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
7045
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
7163
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
7280
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
7358
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
7592
VerifyOperationTreeAndDiagnosticsForTest
<ForEachStatementSyntax>(comp, expectedOperationTree, expectedDiagnostics);
7722
VerifyOperationTreeAndDiagnosticsForTest
<ForEachStatementSyntax>(comp, expectedOperationTree, expectedDiagnostics);
7860
VerifyOperationTreeAndDiagnosticsForTest
<ForEachStatementSyntax>(comp, expectedOperationTree, expectedDiagnostics);
8004
VerifyOperationTreeAndDiagnosticsForTest
<ForEachStatementSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IFromEndIndexOperation_IRangeOperation.cs (4)
72
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, DiagnosticDescription.None);
74
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, DiagnosticDescription.None);
159
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, expectedOperationTree, diagnostics);
272
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, expectedOperationTree, diagnostics);
IOperation\IOperationTests_IImplicitIndexerReferenceExpression.cs (4)
42
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
424
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
815
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
1197
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IInlineArrayAccessOperation.cs (2)
49
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
427
VerifyOperationTreeAndDiagnosticsForTest
<ElementAccessExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IIsPatternExpression.cs (4)
2118
VerifyOperationTreeAndDiagnosticsForTest
<IsPatternExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2151
VerifyOperationTreeAndDiagnosticsForTest
<IsPatternExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2261
VerifyOperationTreeAndDiagnosticsForTest
<IsPatternExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2294
VerifyOperationTreeAndDiagnosticsForTest
<IsPatternExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IObjectCreationExpression.cs (13)
385
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, expectedDiagnostics);
780
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
1067
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
1293
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
1385
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, @"
1407
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, @"
1435
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, @"
1463
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, @"
1491
VerifyOperationTreeAndDiagnosticsForTest
<ImplicitObjectCreationExpressionSyntax>(comp, @"
1572
VerifyOperationTreeAndDiagnosticsForTest
<AssignmentExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2274
VerifyOperationTreeAndDiagnosticsForTest
<InitializerExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
2398
VerifyOperationTreeAndDiagnosticsForTest
<InitializerExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics);
15092
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, expectedOperationTree, diagnostics);
IOperation\IOperationTests_IParameterReferenceExpression.cs (1)
1000
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(compilation1, expectedOperationTree, expectedDiagnostics);
IOperation\IOperationTests_IPropertyReferenceExpression.cs (2)
1024
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(comp, @"
1061
VerifyOperationTreeAndDiagnosticsForTest
<ObjectCreationExpressionSyntax>(comp, @"
IOperation\IOperationTests_IUsingStatement.cs (3)
1887
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(compilation, expectedOperationTree, expectedDiagnostics);
8565
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
8750
VerifyOperationTreeAndDiagnosticsForTest
<BlockSyntax>(comp, @"
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2177
VerifyOperationTreeAndDiagnosticsForTest
<TSyntaxNode>(compilation, expectedOperationTree, expectedDiagnostics, additionalOperationTreeVerifier);
2195
VerifyOperationTreeAndDiagnosticsForTest
<TSyntaxNode>(compilation, expectedOperationTree, expectedDiagnostics, additionalOperationTreeVerifier);