2 overrides of ReadInside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
191
public override ImmutableArray<ISymbol>
ReadInside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
150
Public Overrides ReadOnly Property
ReadInside
As ImmutableArray(Of ISymbol)
825 references to ReadInside
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
153
if (dataFlow.
ReadInside
.Contains(localOrParameter) ||
163
return exprDataFlow.
ReadInside
.Contains(localOrParameter) ||
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (350)
FlowAnalysis\IterationJumpYieldStatementTests.cs (29)
50
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
83
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
113
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
143
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
173
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
202
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
232
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
261
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
307
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
336
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
365
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
394
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
423
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
452
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
577
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
637
Assert.Equal("i", GetSymbolNamesJoined(analysis.
ReadInside
));
658
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
695
Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
745
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
765
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
796
Assert.Equal("ary, a, v, x", GetSymbolNamesJoined(analysis.
ReadInside
));
828
Assert.Equal("a, v, x", GetSymbolNamesJoined(analysis.
ReadInside
));
860
Assert.Equal("a, v, x", GetSymbolNamesJoined(analysis.
ReadInside
));
891
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
981
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1009
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1037
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1065
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1109
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
FlowAnalysis\PatternMatchingTest5.cs (1)
39
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
FlowAnalysis\PatternsVsRegions.cs (5)
39
Assert.Equal("o, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
65
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
91
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
117
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
142
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
FlowAnalysis\RegionAnalysisTests.cs (276)
63
Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
99
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
139
Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
236
Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.
ReadInside
));
303
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
437
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
466
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
870
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
889
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
909
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
929
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
958
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
986
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1014
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1045
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1063
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1251
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1281
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1311
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1369
Assert.Equal(GetSymbolNamesJoined(results1.
ReadInside
),
1370
GetSymbolNamesJoined(results2.
ReadInside
));
1418
Assert.Equal(GetSymbolNamesJoined(results1.
ReadInside
),
1419
GetSymbolNamesJoined(results2.
ReadInside
));
1461
Assert.Equal("System.Int32 y", dataFlows.
ReadInside
.Single().ToTestDisplayString());
1479
Assert.Equal("System.Int32 y", dataFlows.
ReadInside
.Single().ToTestDisplayString());
1515
Assert.Equal("this", dataFlows.
ReadInside
.Single().Name);
1601
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
1635
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
1675
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
1716
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadInside
));
1757
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadInside
));
1796
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
1833
Assert.Equal("p", GetSymbolNamesJoined(analysis.
ReadInside
));
1867
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
1902
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
));
1937
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
));
1972
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
));
2011
Assert.Equal("z", GetSymbolNamesJoined(analysis.
ReadInside
));
2051
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
ReadInside
));
2085
Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.
ReadInside
));
2123
Assert.Equal("b1", GetSymbolNamesJoined(analysis.
ReadInside
));
2159
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
2196
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
2256
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
2286
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
ReadInside
));
2315
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
ReadInside
));
2348
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
ReadInside
));
2403
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
ReadInside
));
2437
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadInside
));
2471
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
ReadInside
));
2498
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
2548
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
));
2578
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
));
2614
Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
));
2648
Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
));
2773
Assert.Equal("r, x, i, y, y2", GetSymbolNamesJoined(analysis.
ReadInside
));
2883
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
2915
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3015
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3044
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3078
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3358
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadInside
));
3668
Assert.Equal("this, t1", GetSymbolNamesJoined(analysis.
ReadInside
));
3705
Assert.Equal("c, d", GetSymbolNamesJoined(analysis.
ReadInside
));
3829
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3861
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3893
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3925
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
3990
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4023
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4123
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4148
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4210
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4304
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4334
Assert.Equal("p, v", GetSymbolNamesJoined(analysis.
ReadInside
));
4471
Assert.Equal("p1, p2, local_0, local_1, non_nullable", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4540
Assert.Equal("value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
4661
Assert.Null(GetSymbolNamesJoined(dataFlow.
ReadInside
));
4707
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
ReadInside
));
5087
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5196
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5314
Assert.Equal("x", GetSymbolNamesJoined(results1.
ReadInside
));
5347
Assert.Equal("p, y", GetSymbolNamesJoined(results1.
ReadInside
));
5377
Assert.Equal("ary, x", GetSymbolNamesJoined(dataFlows.
ReadInside
));
5416
Assert.Equal("i", GetSymbolNamesJoined(dataFlows.
ReadInside
));
5449
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5494
Assert.Equal(4, flowAnalysis.
ReadInside
.Count());
5499
Assert.Equal(2, flowAnalysis.
ReadInside
.Count());
5504
Assert.Equal(2, flowAnalysis.
ReadInside
.Count());
5540
Assert.Equal("x", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
5584
Assert.Equal("x, y", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
5627
Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
5664
Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5694
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5722
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5749
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5776
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5811
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5844
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5878
Assert.Equal("x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
5910
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
6023
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
6060
Assert.Empty(dataFlowAnalysisResults.
ReadInside
);
6097
Assert.Empty(dataFlowAnalysisResults.
ReadInside
);
6136
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
6175
Assert.Equal("node", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
6224
Assert.Equal("MyClass this", flowAnalysis.
ReadInside
.Single().ToTestDisplayString());
6233
Assert.Equal("MyClass this", flowAnalysis.
ReadInside
.Single().ToTestDisplayString());
6259
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
6327
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
6572
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
6603
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
6633
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
6663
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
6698
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadInside
));
6736
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadInside
));
6764
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
6798
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadInside
));
6826
Assert.Equal("arg", GetSymbolNamesJoined(results.
ReadInside
));
6856
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadInside
));
6886
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadInside
));
6916
Assert.Equal("y", GetSymbolNamesJoined(results.
ReadInside
));
6947
Assert.Equal("this", GetSymbolNamesJoined(results.
ReadInside
));
6983
Assert.Equal("x, y", GetSymbolNamesJoined(results.
ReadInside
));
7017
Assert.Equal("y", GetSymbolNamesJoined(results.
ReadInside
));
7049
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadInside
));
7081
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadInside
));
7111
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7145
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7181
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7213
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7250
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7281
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7312
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7352
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7395
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7470
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7500
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7530
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7563
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7593
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7623
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7653
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7683
Assert.Equal("value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7713
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7743
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7773
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7803
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7832
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7861
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7886
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7922
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
7972
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
8029
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
8072
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
8159
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8190
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8222
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8258
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8292
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8327
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8367
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8408
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8443
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8478
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8513
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8545
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadInside
));
8577
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8613
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadInside
));
8649
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8681
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadInside
));
8713
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8749
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadInside
));
8785
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8816
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8851
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8882
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8917
Assert.Null(GetSymbolNamesJoined(results.
ReadInside
));
8953
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
8979
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
9004
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
9057
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
9106
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
9295
Assert.Equal("value", GetSymbolNamesJoined(results.
ReadInside
));
9329
Assert.Equal("value", GetSymbolNamesJoined(analysis.
ReadInside
));
9364
Assert.Equal("value", GetSymbolNamesJoined(analysis.
ReadInside
));
9655
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
9710
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
9764
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
9922
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10095
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10135
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10174
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10214
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10294
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10374
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10489
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10542
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10595
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
10771
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
10955
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
11035
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
11121
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
11174
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
11227
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
11354
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11421
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11488
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11555
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11596
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11759
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11840
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
11964
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12088
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12149
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12221
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12354
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12424
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12466
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12508
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12551
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12586
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12621
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12656
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12691
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12726
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12761
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12796
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12831
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12866
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
12901
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12936
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
12971
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13006
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13041
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13076
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13111
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13146
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13181
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13226
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13260
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13295
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13330
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13365
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13403
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13438
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13473
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13508
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13543
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13578
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13613
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13648
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13683
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13720
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13755
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13790
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13825
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13860
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13895
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
13935
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
13973
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
14013
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
14053
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadInside
));
14093
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
14124
Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14147
Assert.Null(GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14174
Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14181
Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14186
Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14210
Assert.Equal("i, j, k, l", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14217
Assert.Equal("i, j, k, l", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14222
Assert.Equal("i, j, k", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14227
Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14255
Assert.Equal("c, y, z", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14264
Assert.Equal("c, y, z", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
14270
Assert.Equal("c, y", GetSymbolNamesJoined(flowAnalysis.
ReadInside
));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
56
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
93
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
150
Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
207
Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
266
Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
304
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
349
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
410
Assert.Equal("sb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
455
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
494
Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
538
Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
581
Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
621
Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
669
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
713
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
823
Assert.Equal("y, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
869
Assert.Equal("x, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
907
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
951
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1000
Assert.Equal("this, p, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1057
Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.
ReadInside
), GetSymbolNamesJoined(dataFlowResults01.
ReadInside
));
1100
Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1143
Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1190
Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1237
Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
));
1445
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
ReadInside
));
1472
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
ReadInside
));
1507
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
ReadInside
));
1542
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
ReadInside
));
1570
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
ReadInside
));
1600
Assert.Null(GetSymbolNamesJoined(analysis.
ReadInside
));
1631
Assert.Equal("name, obj", GetSymbolNamesJoined(analysis.
ReadInside
));
1661
Assert.Equal("str", GetSymbolNamesJoined(analysis.
ReadInside
));
1695
Assert.Equal("str", GetSymbolNamesJoined(analysisDataflow.
ReadInside
));
1734
Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.
ReadInside
));
Semantics\OutVarTests.cs (2)
1124
dataFlow.
ReadInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
32803
Assert.False(dataFlow.
ReadInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
339
Assert.False(dataFlow.
ReadInside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertLinq\ConvertForEachToLinqQuery\DefaultConverter.cs (1)
29
.SelectMany(statement => ForEachInfo.SemanticModel.AnalyzeDataFlow(statement).
ReadInside
).Select(symbol => symbol.Name));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LambdaTests.cs (2)
7648
Assert.Contains(a, dataFlow.
ReadInside
);
7649
Assert.DoesNotContain(b, dataFlow.
ReadInside
);
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\MethodExtractor.Analyzer.cs (3)
117
var thisParameterBeingRead = (IParameterSymbol?)dataFlowAnalysisData.
ReadInside
.FirstOrDefault(IsThisParameter);
122
var primaryConstructorParameterReadOrWritten = !isInPrimaryConstructorBaseType && dataFlowAnalysisData.
ReadInside
527
using var _5 = GetPooledSymbolSet(dataFlowAnalysisData.
ReadInside
, out var readInsideMap);
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
153
if (dataFlow.
ReadInside
.Contains(localOrParameter) ||
163
return exprDataFlow.
ReadInside
.Contains(localOrParameter) ||
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (465)
FlowAnalysis\FlowTestBase.vb (1)
234
AssertEx.Equal(If(readInside, {}), analysis.
ReadInside
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (28)
98
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
134
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
164
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
195
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
226
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
258
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
290
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
341
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
372
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
403
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
436
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
582
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
621
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
663
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
692
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
797
Assert.Equal(1, dataFlowAnalysisResults.
ReadInside
.Count)
798
Assert.Equal("unassignedRef1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
836
Assert.Equal(2, dataFlowAnalysisResults.
ReadInside
.Count)
837
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
872
Assert.Empty(dataFlowAnalysisResults.
ReadInside
)
904
Assert.Empty(dataFlowAnalysisResults.
ReadInside
)
991
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1251
Assert.Equal("X, Z, Y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1413
Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1451
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1607
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1637
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1668
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
FlowAnalysis\RegionAnalysisTests.vb (165)
90
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadInside
))
186
Assert.Equal("o3", GetSymbolNamesJoined(analysis.
ReadInside
))
465
Assert.Equal("arg1, arg2", GetSymbolNamesJoined(analysis.
ReadInside
))
497
Assert.Equal("arg2", GetSymbolNamesJoined(analysis.
ReadInside
))
735
Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.
ReadInside
))
1103
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1165
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadInside
))
1449
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1653
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1679
Assert.Equal("b", GetSymbolNamesJoined(analysis.
ReadInside
))
1704
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1729
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1755
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1780
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1806
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1831
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
1857
Assert.Equal("b", GetSymbolNamesJoined(analysis.
ReadInside
))
1966
Assert.Equal("o", GetSymbolNamesJoined(analysis.
ReadInside
))
2006
Assert.Equal("o, oo", GetSymbolNamesJoined(analysis.
ReadInside
))
2045
Assert.Equal("o", GetSymbolNamesJoined(analysis.
ReadInside
))
2072
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadInside
))
2232
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2269
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2588
Assert.Equal("c, d", GetSymbolNamesJoined(analysis.
ReadInside
))
2626
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2786
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2821
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2853
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2878
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2905
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2929
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2952
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2974
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2996
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3019
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3051
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3090
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3127
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3164
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3190
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3216
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3255
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3287
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3319
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3345
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3371
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3412
Assert.Equal("ary, local01, local02, flocal, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3445
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3481
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
)) ' Sees Me beng read
3520
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
)) ' Sees Me being read
3555
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3595
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3653
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
ReadInside
))
3687
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
ReadInside
))
3732
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
ReadInside
))
3806
Assert.Equal(GetSymbolNamesJoined(dataResults1.
ReadInside
),
3807
GetSymbolNamesJoined(dataResults2.
ReadInside
))
3907
Assert.Equal(GetSymbolNamesJoined(dataResults1.
ReadInside
),
3908
GetSymbolNamesJoined(dataResults2.
ReadInside
))
3951
Assert.Equal("Me, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3992
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4055
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4080
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4103
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4126
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4150
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4174
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4197
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4225
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4255
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4285
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4313
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4341
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4369
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4395
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4421
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4449
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4477
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4505
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4533
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4623
Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
4657
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5537
Assert.Equal("local, constLocal, p", GetSymbolNamesJoined(analysisResult.
ReadInside
))
5576
Assert.Equal("mp, constLocal", GetSymbolNamesJoined(analysisResult.
ReadInside
))
5663
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5752
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5796
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5839
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5926
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
5983
Assert.Equal("arr", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6046
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6085
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6125
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6163
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6248
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6299
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6346
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6392
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6438
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6483
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6518
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6552
Assert.Equal("strlocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6595
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6640
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6680
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6748
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6787
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
6863
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6914
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6960
Assert.Equal("args, x, bb, y", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7009
Assert.Equal("p, local, x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7054
Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7311
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7347
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7385
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7423
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7457
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7491
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7525
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7560
Assert.Empty(dataFlowResults.
ReadInside
)
7595
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7629
Assert.Equal("Me, x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
7660
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadInside
))
7766
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
7819
Assert.Equal("local, p, at", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7868
Assert.Equal("args, igoo, at1, p", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7909
Assert.Equal("at1", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7945
Assert.Equal("Me, args, ary", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
7978
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8025
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8070
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8133
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8343
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8380
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8421
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8485
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8526
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8564
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8602
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8644
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8687
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8730
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8774
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8818
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8875
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8932
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
8984
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9036
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9088
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9140
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9192
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9246
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9301
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9343
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9386
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9429
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9480
Assert.Equal("obj1, obj2, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9532
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9576
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9622
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9673
Assert.Equal("obj1, obj2, obj3, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9719
Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9751
Assert.Equal("obj2", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9802
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
9841
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (112)
146
Assert.Equal("arg2", GetSymbolNamesJoined(analysis.
ReadInside
))
258
Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.
ReadInside
))
285
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
349
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadInside
))
721
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
748
Assert.Equal("b", GetSymbolNamesJoined(analysis.
ReadInside
))
774
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
800
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
827
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
853
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
880
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
906
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadInside
))
933
Assert.Equal("b", GetSymbolNamesJoined(analysis.
ReadInside
))
1042
Assert.Equal("o", GetSymbolNamesJoined(analysis.
ReadInside
))
1083
Assert.Equal("o, oo", GetSymbolNamesJoined(analysis.
ReadInside
))
1123
Assert.Equal("o", GetSymbolNamesJoined(analysis.
ReadInside
))
1151
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadInside
))
1323
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1572
Assert.Equal("c, d", GetSymbolNamesJoined(analysis.
ReadInside
))
1609
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1644
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1677
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1703
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1736
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1776
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1814
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1852
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1879
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1906
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1946
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1979
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2012
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2039
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2066
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2108
Assert.Equal("ary, local01, local02, flocal, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2141
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2178
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
)) ' Sees Me beng read
2218
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
)) ' Sees Me being read
2254
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2294
Assert.Equal("Me, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2335
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2366
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2397
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2426
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2453
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2543
Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
2578
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2994
Assert.Equal("local, constLocal, p", GetSymbolNamesJoined(analysisResult.
ReadInside
))
3032
Assert.Equal("mp, constLocal", GetSymbolNamesJoined(analysisResult.
ReadInside
))
3104
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3193
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3237
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3280
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3351
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3390
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3430
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3468
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3553
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3604
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3651
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3697
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3743
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3788
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3824
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3861
Assert.Equal("strlocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3905
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3951
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3992
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4073
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4149
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4194
Assert.Equal("args, x, bb, y", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4242
Assert.Equal("p, local, x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4286
Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4482
Assert.Equal("Me, x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
4591
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4645
Assert.Equal("local, p, at", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4695
Assert.Equal("args, igoo, at1, p", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4737
Assert.Equal("at1", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4774
Assert.Equal("Me, args, ary", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4808
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4856
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4902
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
4966
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5137
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5203
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5245
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5284
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5323
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5366
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5410
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5454
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5499
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5544
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5602
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5660
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5713
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5766
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5819
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5874
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5930
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
5972
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6016
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6060
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6112
Assert.Equal("obj1, obj2, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6165
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6210
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6257
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6309
Assert.Equal("obj1, obj2, obj3, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6356
Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6389
Assert.Equal("obj2", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6441
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
6481
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
FlowAnalysis\TryLockUsingStatementTests.vb (59)
64
Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
151
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
201
Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
248
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
305
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
364
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
421
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
477
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
533
Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
583
Assert.Equal("x, e", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
626
Assert.Equal("x, s, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
668
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
711
Assert.Equal("ss", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
761
Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
807
Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
855
Assert.Equal("p, x, z", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
900
Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
980
Assert.Equal("x, y, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1039
Assert.Equal("x, ax", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1079
Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1133
Assert.Equal("Me, x, local, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1176
Assert.Equal("s, pex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1232
Assert.Equal("TryFunc, Me, s, pex, lex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1287
Assert.Equal("TryFunc, Me, s", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1328
Assert.Equal("TryFunc, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadInside
))
1379
Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1430
Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1478
Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1527
Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1575
Assert.Equal("p, local, e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1609
Assert.Equal("p, e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1748
Assert.Equal(2, dataFlowAnalysisResults.
ReadInside
.Count)
1749
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
1750
Assert.Equal("lock", dataFlowAnalysisResults.
ReadInside
(1).ToDisplayString)
1796
Assert.Equal(1, dataFlowAnalysisResults.
ReadInside
.Count)
1797
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
1848
Assert.Equal(2, dataFlowAnalysisResults.
ReadInside
.Count)
1849
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
1850
Assert.Equal("lock", dataFlowAnalysisResults.
ReadInside
(1).ToDisplayString)
1895
Assert.Empty(analysis.
ReadInside
)
1931
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
1970
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
2002
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
2038
Assert.Equal("x, y, goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.
ReadInside
))
2077
Assert.Equal("objs, x, y", GetSymbolNamesJoined(analysis.
ReadInside
))
2113
Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.
ReadInside
))
2157
Assert.Equal("Obj1, i", GetSymbolNamesJoined(dataflowAnalysis.
ReadInside
))
2214
Assert.Equal(3, dataFlowAnalysisResults.
ReadInside
.Count)
2215
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
2216
Assert.Equal("goo1", dataFlowAnalysisResults.
ReadInside
(1).ToDisplayString)
2217
Assert.Equal("goo2", dataFlowAnalysisResults.
ReadInside
(2).ToDisplayString)
2278
Assert.Equal(1, dataFlowAnalysisResults.
ReadInside
.Count)
2279
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
2336
Assert.Equal(1, dataFlowAnalysisResults.
ReadInside
.Count)
2337
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
2394
Assert.Equal(3, dataFlowAnalysisResults.
ReadInside
.Count)
2395
Assert.Equal("x", dataFlowAnalysisResults.
ReadInside
(0).ToDisplayString)
2396
Assert.Equal("goo1", dataFlowAnalysisResults.
ReadInside
(1).ToDisplayString)
2397
Assert.Equal("goo2", dataFlowAnalysisResults.
ReadInside
(2).ToDisplayString)
Semantics\ForeachTest.vb (1)
1329
Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadInside
))
Semantics\ForLoopTest.vb (1)
595
Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadInside
))
Semantics\GotoTests.vb (3)
56
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
100
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
143
Assert.Equal("flag1", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
Semantics\IFOperatorTest.vb (1)
1189
Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadInside
))
Semantics\IteratorTests.vb (1)
196
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
Semantics\MeMyBaseMyClassTests.vb (7)
52
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
92
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
126
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
160
Assert.Equal("Me, X", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
198
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
234
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
270
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))
Semantics\MultiDimensionalTest.vb (2)
339
Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadInside
))
358
Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadInside
))
Semantics\QueryExpressions_FlowAnalysis.vb (75)
117
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
164
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
211
Assert.Equal("q, y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
262
Assert.Equal("s1, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
313
Assert.Equal("y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
358
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
359
Assert.Same(flowsIn, dataFlowAnalysisResults.
ReadInside
(0))
407
Assert.Equal("q, s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
448
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
450
Assert.NotSame(dataFlowAnalysisResults.
ReadInside
(0), GetSymbolNamesJoined(dataFlowAnalysisResults.ReadOutside)(1))
490
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
531
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
572
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
613
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
654
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
695
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
759
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
823
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
887
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1022
Assert.Equal("q, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1223
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1278
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1333
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1388
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1443
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1498
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1553
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1609
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1653
Assert.Equal("y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1703
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1759
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1815
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1871
Assert.Equal("s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1923
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
1975
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2027
Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2079
Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2131
Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2181
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2240
Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2299
Assert.Equal("qs", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2358
Assert.Equal("qu", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2416
Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2474
Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2532
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2597
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2662
Assert.Equal("qi, s1, i1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2727
Assert.Equal("i1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2791
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2862
Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
2933
Assert.Equal("qs", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3004
Assert.Equal("qu", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3075
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3146
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3217
Assert.Equal("qi, qb, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3272
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3327
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3382
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3437
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3492
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3547
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3602
Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3657
Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3714
Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3771
Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3828
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3885
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3942
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
3999
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4056
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4113
Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4170
Assert.Equal("qi, qb, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4227
Assert.Equal("qi, qb, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4263
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
4296
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadInside
))
Semantics\SyncLockTests.vb (6)
45
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
79
Assert.Equal("x1", GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
112
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
147
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
180
Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
208
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
ReadInside
))
Semantics\WithBlockSemanticModelTests.vb (3)
145
Assert.Empty(dataFlowResults.
ReadInside
)
177
Assert.Empty(dataFlowResults.
ReadInside
) ' assume anonymous locals don't show
209
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadInside
))