2 overrides of WrittenInside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
207
public override ImmutableArray<ISymbol>
WrittenInside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
162
Public Overrides ReadOnly Property
WrittenInside
As ImmutableArray(Of ISymbol)
823 references to WrittenInside
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
154
dataFlow.
WrittenInside
.Contains(localOrParameter))
164
exprDataFlow.
WrittenInside
.Contains(localOrParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (343)
FlowAnalysis\IterationJumpYieldStatementTests.cs (29)
52
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
85
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
115
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
145
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
175
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
204
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
234
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
263
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
309
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
338
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
367
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
396
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
425
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
454
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
579
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
636
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
WrittenInside
));
660
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
697
Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
744
Assert.Equal("c", GetSymbolNamesJoined(analysis.
WrittenInside
));
764
Assert.Equal("v", GetSymbolNamesJoined(analysis.
WrittenInside
));
797
Assert.Equal("v, x", GetSymbolNamesJoined(analysis.
WrittenInside
));
829
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
861
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
893
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
983
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1011
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1039
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1067
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1111
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
FlowAnalysis\PatternMatchingTest5.cs (1)
40
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
FlowAnalysis\PatternsVsRegions.cs (5)
40
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
66
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
92
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
118
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
143
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
FlowAnalysis\RegionAnalysisTests.cs (269)
65
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
101
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
141
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
239
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
305
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
387
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
409
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
439
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
468
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
834
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
854
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
871
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
890
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
910
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
930
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
960
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
988
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1016
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1047
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1253
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1283
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1313
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1373
Assert.Equal(GetSymbolNamesJoined(results1.
WrittenInside
),
1374
GetSymbolNamesJoined(results2.
WrittenInside
));
1422
Assert.Equal(GetSymbolNamesJoined(results1.
WrittenInside
),
1423
GetSymbolNamesJoined(results2.
WrittenInside
));
1569
Assert.Equal("a", GetSymbolNamesJoined(analysis.
WrittenInside
));
1604
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
1638
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
1678
Assert.Equal("s", GetSymbolNamesJoined(analysis.
WrittenInside
));
1719
Assert.Equal("s", GetSymbolNamesJoined(analysis.
WrittenInside
));
1760
Assert.Equal("s", GetSymbolNamesJoined(analysis.
WrittenInside
));
1799
Assert.Equal("s", GetSymbolNamesJoined(analysis.
WrittenInside
));
1836
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1870
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1905
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1940
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1975
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2014
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2054
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2088
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2126
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2162
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2199
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2259
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
2287
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2316
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2349
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2404
Assert.Null(GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2438
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2472
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
2500
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
2550
Assert.Equal($"{currentX}, {currentY}", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
));
2580
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
));
2616
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
));
2650
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
));
2731
Assert.Equal("x, b", GetSymbolNamesJoined(analysis.
WrittenInside
));
2775
Assert.Equal("ix, x, i, y, y2, rrr", GetSymbolNamesJoined(analysis.
WrittenInside
));
2794
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
2850
Assert.Equal("x, b", GetSymbolNamesJoined(analysis.
WrittenInside
));
2885
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
2917
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3017
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3046
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3080
Assert.Equal("i, j, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3360
Assert.Equal("j", GetSymbolNamesJoined(analysis.
WrittenInside
));
3706
Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.
WrittenInside
));
3831
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3863
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3895
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3927
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
3992
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4025
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4125
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4150
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4212
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4306
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4336
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
4473
Assert.Equal("p1, p2, local_1, non_nullable, ret", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4542
Assert.Equal("p, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
4662
Assert.Equal("x1", GetSymbolNamesJoined(dataFlow.
WrittenInside
));
4708
Assert.Null(GetSymbolNamesJoined(dataFlow.
WrittenInside
));
5089
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5198
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5253
Assert.Equal("f, arg, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5281
Assert.Equal("testDel, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5316
Assert.Equal("testDel, x, y", GetSymbolNamesJoined(results1.
WrittenInside
));
5349
Assert.Equal("x", GetSymbolNamesJoined(results1.
WrittenInside
));
5378
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
5417
Assert.Equal("i, d", GetSymbolNamesJoined(dataFlows.
WrittenInside
));
5451
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5495
Assert.Equal(5, flowAnalysis.
WrittenInside
.Count());
5500
Assert.Equal(2, flowAnalysis.
WrittenInside
.Count());
5505
Assert.Equal(2, flowAnalysis.
WrittenInside
.Count());
5541
Assert.Null(GetSymbolNamesJoined(flowAnalysis.
WrittenInside
));
5585
Assert.Equal("x, y", GetSymbolNamesJoined(flowAnalysis.
WrittenInside
));
5628
Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.
WrittenInside
));
5666
Assert.Equal("q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5696
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5724
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5751
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5778
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5813
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5846
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5880
Assert.Equal("temp, x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
5912
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
6025
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
6062
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
);
6099
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
);
6138
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
);
6177
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
);
6225
Assert.Empty(flowAnalysis.
WrittenInside
);
6234
Assert.Empty(flowAnalysis.
WrittenInside
);
6261
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
6329
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
6358
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
6573
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
6604
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
6634
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
6664
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
6699
Assert.Equal("x", GetSymbolNamesJoined(results.
WrittenInside
));
6737
Assert.Equal("x", GetSymbolNamesJoined(results.
WrittenInside
));
6765
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
6799
Assert.Equal("x", GetSymbolNamesJoined(results.
WrittenInside
));
6918
Assert.Equal("x", GetSymbolNamesJoined(results.
WrittenInside
));
6948
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
6984
Assert.Equal("x, y", GetSymbolNamesJoined(results.
WrittenInside
));
7018
Assert.Equal("x, y", GetSymbolNamesJoined(results.
WrittenInside
));
7050
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
7082
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
7113
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7147
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7183
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7215
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7252
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7283
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7314
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7354
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7397
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7472
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7502
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7532
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7565
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7595
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7625
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7655
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7685
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7715
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7745
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7775
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7805
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7834
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7863
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7888
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7924
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
7974
Assert.Equal("test", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
8031
Assert.Equal("j", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
8075
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
8160
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8191
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8223
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8259
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8293
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8328
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8368
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8409
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8444
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8479
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8514
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8546
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8578
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8614
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8650
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8682
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8714
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8750
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
8786
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8817
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8852
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8883
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8918
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenInside
));
8955
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
8981
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
9006
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
9059
Assert.Equal("i1, i2, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
9108
Assert.Equal("i1, i2, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
9296
Assert.Null(GetSymbolNamesJoined(results.
WrittenInside
));
9332
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
9367
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
9658
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
9713
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
9767
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
9925
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10098
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10138
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10177
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10217
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10297
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10377
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10492
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10545
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10598
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
10774
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
10958
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
11038
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
11124
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
11177
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
11230
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
11357
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11424
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11491
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11558
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11599
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11762
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11843
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
11967
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12091
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12152
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12224
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12357
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12435
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12469
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12519
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12554
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12589
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12624
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12659
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12694
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12729
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12764
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12799
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12834
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12869
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
12904
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12939
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
12974
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13009
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13044
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13079
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13114
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13149
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13184
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13229
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13263
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
));
13298
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13333
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13368
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13406
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13441
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13476
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13511
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13546
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13581
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13616
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13651
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13686
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13723
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13758
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13793
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13828
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13863
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13898
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13938
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
13976
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
14016
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
14056
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
14096
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
14125
Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.
WrittenInside
));
14148
Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.
WrittenInside
));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
58
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
95
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
152
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
209
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
268
Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
306
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
351
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
412
Assert.Equal("sb", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
457
Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
496
Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
540
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
583
Assert.Equal("x, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
623
Assert.Equal("x, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
671
Assert.Equal("p, y, z, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
715
Assert.Equal("s, ax, s, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
825
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
871
Assert.Equal("x, s, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
909
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
953
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1002
Assert.Equal("y, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1059
Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.
WrittenInside
), GetSymbolNamesJoined(dataFlowResults01.
WrittenInside
));
1101
Assert.Equal("refp, outp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1144
Assert.Equal("outp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1191
Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1238
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
));
1443
Assert.Equal("c", GetSymbolNamesJoined(analysis.
WrittenInside
));
1470
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1505
Assert.Equal("c", GetSymbolNamesJoined(analysis.
WrittenInside
));
1540
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1568
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1598
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1629
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenInside
));
1659
Assert.Equal("obj", GetSymbolNamesJoined(analysis.
WrittenInside
));
1693
Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.
WrittenInside
));
1732
Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.
WrittenInside
));
Semantics\OutVarTests.cs (2)
1118
Assert.True(dataFlow.
WrittenInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
32753
Assert.False(dataFlow.
WrittenInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
337
Assert.False(dataFlow.
WrittenInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (1)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
92
refKind: dataFlow.
WrittenInside
.Contains(capture) ? RefKind.Ref : RefKind.None,
Microsoft.CodeAnalysis.Features (5)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
410
return dataFlow.
WrittenInside
.Contains(foreachVariable);
ExtractMethod\MethodExtractor.Analyzer.cs (2)
158
var isThisParameterWritten = dataFlowAnalysisData.
WrittenInside
.Any(static s => IsThisParameter(s));
471
var writtenInsideMap = new HashSet<ISymbol>(dataFlowAnalysisData.
WrittenInside
);
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
154
dataFlow.
WrittenInside
.Contains(localOrParameter))
164
exprDataFlow.
WrittenInside
.Contains(localOrParameter);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (472)
FlowAnalysis\FlowTestBase.vb (1)
237
AssertEx.Equal(If(writtenInside, {}), analysis.
WrittenInside
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (27)
100
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
136
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
166
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
197
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
228
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
260
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
292
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
343
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
374
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
405
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
438
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
584
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
623
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
665
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
694
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
802
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
)
839
Assert.Equal(2, dataFlowAnalysisResults.
WrittenInside
.Count)
840
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
874
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
875
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
)
906
Assert.Empty(dataFlowAnalysisResults.
WrittenInside
)
993
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1414
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1452
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1609
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1639
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1670
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
FlowAnalysis\RegionAnalysisTests.vb (175)
91
Assert.Equal("s", GetSymbolNamesJoined(analysis.
WrittenInside
))
189
Assert.Equal("col1", GetSymbolNamesJoined(analysis.
WrittenInside
))
468
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
500
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
738
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
1104
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
1167
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
1297
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1344
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1369
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1393
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1418
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1452
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1475
Assert.Equal("Goo", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1654
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1680
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1705
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
))
1730
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1756
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1781
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenInside
))
1807
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenInside
))
1832
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1858
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1968
Assert.Equal("o", GetSymbolNamesJoined(analysis.
WrittenInside
))
2008
Assert.Equal("o", GetSymbolNamesJoined(analysis.
WrittenInside
))
2047
Assert.Equal("oo", GetSymbolNamesJoined(analysis.
WrittenInside
))
2074
Assert.Equal("j", GetSymbolNamesJoined(analysis.
WrittenInside
))
2234
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2271
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2481
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
2502
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
2589
Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.
WrittenInside
))
2628
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2788
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2823
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2855
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2880
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2907
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2930
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2953
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2975
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2997
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3020
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3053
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3092
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3129
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3166
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3192
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3218
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
)) 'C# this is an assignment. In VB, this is a comparison so no assignment.
3257
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3288
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3320
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3346
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3372
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3413
Assert.Equal("local01, local02, flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3446
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3483
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3522
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3557
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3597
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3655
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
WrittenInside
))
3689
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
WrittenInside
))
3734
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
WrittenInside
))
3810
Assert.Equal(GetSymbolNamesJoined(dataResults1.
WrittenInside
),
3811
GetSymbolNamesJoined(dataResults2.
WrittenInside
))
3911
Assert.Equal(GetSymbolNamesJoined(dataResults1.
WrittenInside
),
3912
GetSymbolNamesJoined(dataResults2.
WrittenInside
))
3953
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3994
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4056
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4081
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4104
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4127
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4151
Assert.Equal("x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4175
Assert.Equal("xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4198
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4227
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4257
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4286
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4314
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4342
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4370
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4396
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4422
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4450
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4478
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4506
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4534
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4557
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
4586
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
4624
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
4659
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5539
Assert.Equal("p", GetSymbolNamesJoined(analysisResult.
WrittenInside
))
5577
Assert.Equal("local", GetSymbolNamesJoined(analysisResult.
WrittenInside
))
5665
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5754
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5798
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5841
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5927
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
5984
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6048
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6087
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6127
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6165
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6250
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6301
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6348
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6394
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6440
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6485
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6520
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6554
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6597
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6642
Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6682
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6750
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6789
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
6864
Assert.Empty(dataFlowResults.
WrittenInside
)
6915
Assert.Empty(dataFlowResults.
WrittenInside
)
6961
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7010
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7055
Assert.Empty(dataFlowResults.
WrittenInside
)
7312
Assert.Empty(dataFlowResults.
WrittenInside
)
7348
Assert.Empty(dataFlowResults.
WrittenInside
)
7386
Assert.Empty(dataFlowResults.
WrittenInside
)
7424
Assert.Empty(dataFlowResults.
WrittenInside
)
7458
Assert.Empty(dataFlowResults.
WrittenInside
)
7492
Assert.Equal("i, q", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7526
Assert.Empty(dataFlowResults.
WrittenInside
)
7561
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7596
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7630
Assert.Equal("l1", GetSymbolNamesJoined(analysis.
WrittenInside
))
7661
Assert.Equal("inside", GetSymbolNamesJoined(analysis.
WrittenInside
))
7768
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
7820
Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7869
Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7910
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7946
Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
7979
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8026
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8071
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8134
Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8344
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8381
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8422
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8486
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8527
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8565
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8603
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8645
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8688
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8731
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8775
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8819
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8876
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8933
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
8985
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9037
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9089
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9141
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9193
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9247
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9302
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9344
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9387
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9430
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9481
Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9533
Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9577
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9623
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9674
Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9720
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9752
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9803
Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
9842
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (121)
149
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
261
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
286
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
351
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
448
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
471
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
495
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
518
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
542
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
722
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
749
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
775
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenInside
))
801
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
828
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
854
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenInside
))
881
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenInside
))
907
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
934
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1044
Assert.Equal("o", GetSymbolNamesJoined(analysis.
WrittenInside
))
1085
Assert.Equal("o", GetSymbolNamesJoined(analysis.
WrittenInside
))
1125
Assert.Equal("oo", GetSymbolNamesJoined(analysis.
WrittenInside
))
1153
Assert.Equal("j", GetSymbolNamesJoined(analysis.
WrittenInside
))
1325
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1486
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
1506
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenInside
))
1573
Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.
WrittenInside
))
1611
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1646
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1679
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1705
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1738
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1778
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1816
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1854
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1881
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1908
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
)) 'C# this is an assignment. In VB, this is a comparison so no assignment.
1948
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1980
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2013
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2040
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2067
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2109
Assert.Equal("local01, local02, flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2142
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2180
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2220
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2256
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2296
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2337
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2368
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2399
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2427
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2454
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2477
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
2506
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
2544
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
2580
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2996
Assert.Equal("p", GetSymbolNamesJoined(analysisResult.
WrittenInside
))
3033
Assert.Equal("local", GetSymbolNamesJoined(analysisResult.
WrittenInside
))
3106
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3195
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3239
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3282
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3353
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3392
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3432
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3470
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3555
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3606
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3653
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3699
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3745
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3790
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3826
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3863
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3907
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3953
Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3994
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4075
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4150
Assert.Empty(dataFlowResults.
WrittenInside
)
4195
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4243
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4287
Assert.Empty(dataFlowResults.
WrittenInside
)
4483
Assert.Equal("l1", GetSymbolNamesJoined(analysis.
WrittenInside
))
4593
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4646
Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4696
Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4738
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4775
Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4809
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4857
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4903
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
4967
Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5138
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5204
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5246
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5285
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5324
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5367
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5411
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5455
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5500
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5545
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5603
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5661
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5714
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5767
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5820
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5875
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5931
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
5973
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6017
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6061
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6113
Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6166
Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6211
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6258
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6310
Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6357
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6390
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6442
Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
6482
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
FlowAnalysis\TryLockUsingStatementTests.vb (50)
66
Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
153
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
203
Assert.Equal("s, e2", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
250
Assert.Equal("x, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
307
Assert.Equal("x, ex, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
365
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
422
Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
478
Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
534
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
585
Assert.Equal("x, e, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
628
Assert.Equal("x, local, y, ex, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
669
Assert.Equal("sb, sb1, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
712
Assert.Equal("sb, ss, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
763
Assert.Equal("x, z, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
808
Assert.Equal("x, z, ax", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
856
Assert.Equal("y, z, ex, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
902
Assert.Equal("p, z, ax", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
981
Assert.Equal("s, ax, s, ex, s, s", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1040
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1080
Assert.Equal("x, y, e, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1135
Assert.Equal("x, local, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1178
Assert.Equal("pex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1233
Assert.Equal("TryFunc, pex, lex, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1288
Assert.Equal("TryFunc, pex, lex, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1329
Assert.Equal("TryFunc, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenInside
))
1380
Assert.Equal("M, refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1431
Assert.Equal("M, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1479
Assert.Equal("local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1528
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1576
Assert.Equal("e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1611
Assert.Equal("ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1754
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
1803
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
1854
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
1897
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1933
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
1972
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
2004
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
2040
Assert.Equal("goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.
WrittenInside
))
2079
Assert.Equal("x, y, y", GetSymbolNamesJoined(analysis.
WrittenInside
))
2115
Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.
WrittenInside
))
2159
Assert.Equal("i", GetSymbolNamesJoined(dataflowAnalysis.
WrittenInside
))
2225
Assert.Equal(2, dataFlowAnalysisResults.
WrittenInside
.Count)
2226
Assert.Equal("goo1", dataFlowAnalysisResults.
WrittenInside
(0).ToDisplayString)
2227
Assert.Equal("goo2", dataFlowAnalysisResults.
WrittenInside
(1).ToDisplayString)
2285
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
2345
Assert.Equal(0, dataFlowAnalysisResults.
WrittenInside
.Count)
2405
Assert.Equal(2, dataFlowAnalysisResults.
WrittenInside
.Count)
2406
Assert.Equal("goo1", dataFlowAnalysisResults.
WrittenInside
(0).ToDisplayString)
2407
Assert.Equal("goo2", dataFlowAnalysisResults.
WrittenInside
(1).ToDisplayString)
Semantics\ForeachTest.vb (1)
1331
Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenInside
))
Semantics\ForLoopTest.vb (1)
597
Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenInside
))
Semantics\GotoTests.vb (3)
58
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
102
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
145
Assert.Equal("str", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
Semantics\IFOperatorTest.vb (1)
1191
Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenInside
))
Semantics\IteratorTests.vb (1)
198
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
Semantics\MeMyBaseMyClassTests.vb (7)
54
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
94
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
128
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
162
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
200
Assert.Equal("TEST, x, x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
236
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
272
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenInside
))
Semantics\MultiDimensionalTest.vb (2)
341
Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenInside
))
360
Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenInside
))
Semantics\QueryExpressions_FlowAnalysis.vb (73)
119
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
166
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
213
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
264
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
315
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
362
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
409
Assert.Equal("s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
451
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
492
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
533
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
574
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
615
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
656
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
697
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
761
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
825
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
889
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1024
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1225
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1280
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1335
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1390
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1445
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1500
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1555
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1611
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1655
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1705
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1761
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1817
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1873
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1925
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
1977
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2029
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2081
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2133
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2183
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2242
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2301
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2360
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2418
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2476
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2534
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2599
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2664
Assert.Equal("s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2729
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2793
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2864
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
2935
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3006
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3077
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3148
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3219
Assert.Equal("s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3274
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3329
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3384
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3439
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3494
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3549
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3604
Assert.Equal("s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3659
Assert.Equal("s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3716
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3773
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3830
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3887
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
3944
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4001
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4058
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4115
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4172
Assert.Equal("t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4229
Assert.Equal("t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4265
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
4298
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenInside
))
Semantics\SyncLockTests.vb (6)
47
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
81
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
114
Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
149
Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
182
Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
210
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenInside
))
Semantics\WithBlockSemanticModelTests.vb (3)
147
Assert.Empty(dataFlowResults.
WrittenInside
)
179
Assert.Empty(dataFlowResults.
WrittenInside
)
211
Assert.Empty(dataFlowResults.
WrittenInside
)