IOperation\FunctionPointerOperations.cs (15)
43VerifyOperationTreeAndDiagnosticsForTest<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
67var expectedDiagnostics = new DiagnosticDescription[] {
97var expectedDiagnostics = new DiagnosticDescription[] {
127var expectedDiagnostics = new DiagnosticDescription[] {
130VerifyOperationTreeAndDiagnosticsForTest<PrefixUnaryExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
152var expectedDiagnostics = new DiagnosticDescription[] {
182var expectedDiagnostics = new DiagnosticDescription[] {
249VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
278VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[0]);
303var expectedDiagnostics = new DiagnosticDescription[] {
334var expectedDiagnostics = new DiagnosticDescription[] {
365var expectedDiagnostics = new DiagnosticDescription[] {
433var expectedDiagnostics = new DiagnosticDescription[] {
517VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(comp, expectedFlowGraph, new DiagnosticDescription[0]);
594VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(comp, expectedFlowGraph, new DiagnosticDescription[0]);
IOperation\IOperationTests_IArgument.cs (99)
41var expectedDiagnostics = DiagnosticDescription.None;
75var expectedDiagnostics = DiagnosticDescription.None;
109var expectedDiagnostics = DiagnosticDescription.None;
143var expectedDiagnostics = DiagnosticDescription.None;
177var expectedDiagnostics = DiagnosticDescription.None;
215var expectedDiagnostics = DiagnosticDescription.None;
253var expectedDiagnostics = DiagnosticDescription.None;
293var expectedDiagnostics = DiagnosticDescription.None;
329var expectedDiagnostics = DiagnosticDescription.None;
365var expectedDiagnostics = DiagnosticDescription.None;
401var expectedDiagnostics = DiagnosticDescription.None;
433var expectedDiagnostics = DiagnosticDescription.None;
465var expectedDiagnostics = DiagnosticDescription.None;
496var expectedDiagnostics = DiagnosticDescription.None;
538var expectedDiagnostics = DiagnosticDescription.None;
582var expectedDiagnostics = DiagnosticDescription.None;
624var expectedDiagnostics = DiagnosticDescription.None;
659var expectedDiagnostics = DiagnosticDescription.None;
700var expectedDiagnostics = DiagnosticDescription.None;
739var expectedDiagnostics = DiagnosticDescription.None;
779var expectedDiagnostics = DiagnosticDescription.None;
814var expectedDiagnostics = DiagnosticDescription.None;
857var expectedDiagnostics = DiagnosticDescription.None;
892var expectedDiagnostics = DiagnosticDescription.None;
935var expectedDiagnostics = DiagnosticDescription.None;
972var expectedDiagnostics = DiagnosticDescription.None;
1015var expectedDiagnostics = DiagnosticDescription.None;
1059var expectedDiagnostics = DiagnosticDescription.None;
1102var expectedDiagnostics = DiagnosticDescription.None;
1145var expectedDiagnostics = DiagnosticDescription.None;
1200var expectedDiagnostics = DiagnosticDescription.None;
1285var expectedDiagnostics = new DiagnosticDescription[] {
1317var expectedDiagnostics = new DiagnosticDescription[] {
1347var expectedDiagnostics = new DiagnosticDescription[]
1416var expectedDiagnostics = DiagnosticDescription.None;
1459var expectedDiagnostics0 = new DiagnosticDescription[]
1474VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1475comp1.VerifyEmitDiagnostics(DiagnosticDescription.None);
1513VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1520VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1521comp1.VerifyEmitDiagnostics(DiagnosticDescription.None);
1559VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1566VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1567comp1.VerifyEmitDiagnostics(DiagnosticDescription.None);
1604VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1611VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1612comp1.VerifyEmitDiagnostics(DiagnosticDescription.None);
1650VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp, expectedOperationTree0And1, DiagnosticDescription.None);
1657VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(comp1, expectedOperationTree0And1, DiagnosticDescription.None);
1658comp1.VerifyEmitDiagnostics(DiagnosticDescription.None);
1691var expectedDiagnostics = DiagnosticDescription.None;
1726var expectedDiagnostics = DiagnosticDescription.None;
1766var expectedDiagnostics = DiagnosticDescription.None;
1800var expectedDiagnostics = new DiagnosticDescription[] {
1839var expectedDiagnostics = new DiagnosticDescription[] {
1893var expectedDiagnostics = DiagnosticDescription.None;
1940var expectedDiagnostics = DiagnosticDescription.None;
1973var expectedDiagnostics = DiagnosticDescription.None;
2087var expectedDiagnostics = DiagnosticDescription.None;
2205var expectedDiagnostics = DiagnosticDescription.None;
2324var expectedDiagnostics = DiagnosticDescription.None;
2429var expectedDiagnostics = new DiagnosticDescription[] {
2491var expectedDiagnostics = new DiagnosticDescription[] {
2563var expectedDiagnostics = new DiagnosticDescription[] {
2640var expectedDiagnostics = new DiagnosticDescription[] {
2696var expectedDiagnostics = new DiagnosticDescription[] {
2762var expectedDiagnostics = new DiagnosticDescription[] {
2843var expectedDiagnostics = new DiagnosticDescription[] {
2889var expectedDiagnostics = new DiagnosticDescription[] {
2938var expectedDiagnostics = new DiagnosticDescription[] {
2991var expectedDiagnostics = new DiagnosticDescription[] {
3039var expectedDiagnostics = new DiagnosticDescription[] {
3095var expectedDiagnostics = DiagnosticDescription.None;
3120var expectedDiagnostics = DiagnosticDescription.None;
3146var expectedDiagnostics = DiagnosticDescription.None;
3171var expectedDiagnostics = new DiagnosticDescription[] {
3211var expectedDiagnostics = DiagnosticDescription.None;
3248var expectedDiagnostics = DiagnosticDescription.None;
3272var expectedDiagnostics = DiagnosticDescription.None;
3296var expectedDiagnostics = DiagnosticDescription.None;
3320var expectedDiagnostics = DiagnosticDescription.None;
3345var expectedDiagnostics = DiagnosticDescription.None;
3370var expectedDiagnostics = new DiagnosticDescription[] {
3410var expectedDiagnostics = DiagnosticDescription.None;
3447var expectedDiagnostics = DiagnosticDescription.None;
3471var expectedDiagnostics = DiagnosticDescription.None;
3505var expectedDiagnostics = DiagnosticDescription.None;
3540var expectedDiagnostics = DiagnosticDescription.None;
3562var expectedDiagnostics = DiagnosticDescription.None;
3587var expectedDiagnostics = DiagnosticDescription.None;
3610var expectedDiagnostics = DiagnosticDescription.None;
3642var expectedDiagnostics = DiagnosticDescription.None;
3673var expectedDiagnostics = DiagnosticDescription.None;
3711var expectedDiagnostics = new DiagnosticDescription[] {
3755var expectedDiagnostics = new DiagnosticDescription[] {
3810var expectedDiagnostics = new DiagnosticDescription[] {
3908var expectedDiagnostics = new DiagnosticDescription[] {
4004var expectedDiagnostics = new DiagnosticDescription[] {
4125var expectedDiagnostics = new DiagnosticDescription[] {
IOperation\IOperationTests_IForEachLoopStatement.cs (53)
1117var expectedDiagnostics = DiagnosticDescription.None;
1162var expectedDiagnostics = DiagnosticDescription.None;
1206var expectedDiagnostics = new DiagnosticDescription[] {
1278var expectedDiagnostics = new DiagnosticDescription[] {
1317var expectedDiagnostics = new DiagnosticDescription[] {
1366var expectedDiagnostics = new DiagnosticDescription[] {
1415var expectedDiagnostics = new DiagnosticDescription[] {
1455var expectedDiagnostics = new DiagnosticDescription[] {
1915var expectedDiagnostics = DiagnosticDescription.None;
2111var expectedDiagnostics = DiagnosticDescription.None;
2239var expectedDiagnostics = DiagnosticDescription.None;
2387var expectedDiagnostics = DiagnosticDescription.None;
2492var expectedDiagnostics = DiagnosticDescription.None;
2603var expectedDiagnostics = DiagnosticDescription.None;
3053var expectedDiagnostics = DiagnosticDescription.None;
3142var expectedDiagnostics = DiagnosticDescription.None;
3231var expectedDiagnostics = DiagnosticDescription.None;
3320var expectedDiagnostics = DiagnosticDescription.None;
3409var expectedDiagnostics = DiagnosticDescription.None;
3630var expectedDiagnostics = DiagnosticDescription.None;
3779var expectedDiagnostics = DiagnosticDescription.None;
3973var expectedDiagnostics = DiagnosticDescription.None;
4102var expectedDiagnostics = DiagnosticDescription.None;
4243var expectedDiagnostics = DiagnosticDescription.None;
4344var expectedDiagnostics = DiagnosticDescription.None;
4575var expectedDiagnostics = DiagnosticDescription.None;
4706var expectedDiagnostics = DiagnosticDescription.None;
4921var expectedDiagnostics = DiagnosticDescription.None;
5091var expectedDiagnostics = DiagnosticDescription.None;
5223var expectedDiagnostics = DiagnosticDescription.None;
5440var expectedDiagnostics = DiagnosticDescription.None;
5654var expectedDiagnostics = DiagnosticDescription.None;
5778var expectedDiagnostics = new DiagnosticDescription[] {
5907", DiagnosticDescription.None);
6031", DiagnosticDescription.None);
6153NextVariables(0)", DiagnosticDescription.None);
6271NextVariables(0)", DiagnosticDescription.None);
6366VerifyOperationTreeAndDiagnosticsForTest<BlockSyntax>(comp, expectedDiagnostics: DiagnosticDescription.None, expectedOperationTree: @"
6534NextVariables(0)", DiagnosticDescription.None);
6684", DiagnosticDescription.None);
6810", DiagnosticDescription.None);
6936var diagnostics = new DiagnosticDescription[] {
7030var diagnostics = new DiagnosticDescription[] {
7154var diagnostics = new DiagnosticDescription[] {
7271var diagnostics = new DiagnosticDescription[] {
7387", DiagnosticDescription.None);
7589var expectedDiagnostics = DiagnosticDescription.None;
7673var expectedDiagnostics = DiagnosticDescription.None;
7719var expectedDiagnostics = DiagnosticDescription.None;
7806var expectedDiagnostics = DiagnosticDescription.None;
7857var expectedDiagnostics = DiagnosticDescription.None;
7952var expectedDiagnostics = DiagnosticDescription.None;
8001var expectedDiagnostics = DiagnosticDescription.None;
IOperation\IOperationTests_InvalidExpression.cs (27)
40var expectedDiagnostics = new DiagnosticDescription[] {
75var expectedDiagnostics = new DiagnosticDescription[] {
110var expectedDiagnostics = new DiagnosticDescription[] {
147var expectedDiagnostics = new DiagnosticDescription[] {
193var expectedDiagnostics = new DiagnosticDescription[] {
242var expectedDiagnostics = new DiagnosticDescription[] {
279var expectedDiagnostics = new DiagnosticDescription[] {
322var expectedDiagnostics = new DiagnosticDescription[] {
368var expectedDiagnostics = DiagnosticDescription.None;
405var expectedDiagnostics = DiagnosticDescription.None;
433var expectedDiagnostics = new DiagnosticDescription[] {
483var expectedDiagnostics = new DiagnosticDescription[] {
529var expectedDiagnostics = new DiagnosticDescription[] {
569var expectedDiagnostics = new DiagnosticDescription[] {
598VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
630VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
660VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
694VerifyOperationTreeAndDiagnosticsForTest<ElementAccessExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
728VerifyOperationTreeAndDiagnosticsForTest<ElementAccessExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
760VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
790VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
824VerifyOperationTreeAndDiagnosticsForTest<ElementAccessExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
858VerifyOperationTreeAndDiagnosticsForTest<ElementAccessExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics: new DiagnosticDescription[]
880var expectedDiagnostics = new DiagnosticDescription[] {
935var expectedDiagnostics = new DiagnosticDescription[] {
1037var expectedDiagnostics = new DiagnosticDescription[] {
1135var expectedDiagnostics = new DiagnosticDescription[] {