2 overrides of ReadOutside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
223
public override ImmutableArray<ISymbol>
ReadOutside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
174
Public Overrides ReadOnly Property
ReadOutside
As ImmutableArray(Of ISymbol)
739 references to ReadOutside
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
207
if (dataFlow.
ReadOutside
.Contains(outLocalSymbol) || dataFlow.WrittenOutside.Contains(outLocalSymbol))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
315
if (analysis == null || analysis.
ReadOutside
.Contains(localSymbol) || analysis.WrittenOutside.Contains(localSymbol))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (327)
FlowAnalysis\IterationJumpYieldStatementTests.cs (26)
51
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
84
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
114
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
144
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
174
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
203
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
233
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
262
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
308
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
337
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
366
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
395
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
424
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
453
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
578
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
659
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
696
Assert.Equal("i, j", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
798
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
830
Assert.Equal("ary", GetSymbolNamesJoined(analysis.
ReadOutside
));
862
Assert.Equal("ary", GetSymbolNamesJoined(analysis.
ReadOutside
));
892
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
982
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1010
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1038
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1066
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1110
Assert.Equal("i1, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
FlowAnalysis\PatternMatchingTest5.cs (1)
41
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
FlowAnalysis\PatternsVsRegions.cs (5)
41
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
67
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
93
Assert.Equal("args, o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
119
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
144
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
FlowAnalysis\RegionAnalysisTests.cs (256)
64
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
100
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
140
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
237
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
304
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
438
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
467
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
872
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
891
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
911
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
931
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
959
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
987
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1015
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1046
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1252
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1282
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1312
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1371
Assert.Equal(GetSymbolNamesJoined(results1.
ReadOutside
),
1372
string.Join(", ", new string[] { "f" }.Concat((results2.
ReadOutside
).Select(symbol => symbol.Name)).OrderBy(name => name)));
1420
Assert.Equal(GetSymbolNamesJoined(results1.
ReadOutside
),
1421
GetSymbolNamesJoined(results2.
ReadOutside
));
1602
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1636
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1676
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1717
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1758
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1797
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1834
Assert.Equal("i", GetSymbolNamesJoined(analysis.
ReadOutside
));
1868
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1903
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1938
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1973
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2012
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
2052
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2086
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2124
Assert.Equal("b0", GetSymbolNamesJoined(analysis.
ReadOutside
));
2160
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2197
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2257
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
2288
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadOutside
));
2317
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadOutside
));
2350
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadOutside
));
2499
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
2549
Assert.Equal("c, x1, y1, x2, y2", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
));
2579
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
));
2615
Assert.Equal("c, x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
));
2649
Assert.Equal("c, x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
));
2774
Assert.Equal("ix, x, i, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
2884
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
2916
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3016
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3045
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3079
Assert.Equal("i, j", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3359
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadOutside
));
3399
Assert.Equal("t, t1", GetSymbolNamesJoined(analysis.
ReadOutside
));
3473
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
3491
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
3512
Assert.Equal("b", GetSymbolNamesJoined(analysis.
ReadOutside
));
3533
Assert.Equal("i", GetSymbolNamesJoined(analysis.
ReadOutside
));
3707
Assert.Equal("x, a, e, g", GetSymbolNamesJoined(analysis.
ReadOutside
));
3830
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3862
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3894
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3926
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
3991
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4024
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4124
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4149
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4170
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4211
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4305
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4337
Assert.Equal("p, v", GetSymbolNamesJoined(analysis.
ReadOutside
));
4472
Assert.Equal("p1, p2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4541
Assert.Equal("args, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
4664
GetSymbolNamesJoined(dataFlow.
ReadOutside
));
4709
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
ReadOutside
));
5088
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5197
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5315
Assert.Equal("testDel, p", GetSymbolNamesJoined(results1.
ReadOutside
));
5348
Assert.Null(GetSymbolNamesJoined(results1.
ReadOutside
));
5379
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadOutside
));
5418
Assert.Null(GetSymbolNamesJoined(dataFlows.
ReadOutside
));
5450
Assert.Equal("num, f, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5665
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5695
Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5723
Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5750
Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5777
Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5812
Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5845
Assert.Equal("num", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5879
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
5911
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6024
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6061
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6098
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6137
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6176
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6260
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
6328
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
6574
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6605
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6635
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6665
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6700
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6738
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadOutside
));
6766
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6800
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadOutside
));
6827
Assert.Equal("arg", GetSymbolNamesJoined(results.
ReadOutside
));
6857
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
6887
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadOutside
));
6917
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadOutside
));
6949
Assert.Equal("this", GetSymbolNamesJoined(results.
ReadOutside
));
6985
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
7019
Assert.Equal("x", GetSymbolNamesJoined(results.
ReadOutside
));
7051
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
ReadOutside
));
7083
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
7112
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7146
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7182
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7214
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7251
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7282
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7313
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7353
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7396
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7471
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7501
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7531
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7564
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7594
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7624
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7654
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7684
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7714
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7744
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7774
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7804
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7833
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7862
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7887
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7923
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
7973
Assert.Equal("test", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
8030
Assert.Equal("j", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
8073
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
8161
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8192
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8224
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8260
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8294
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8329
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8369
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8410
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8445
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8480
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8515
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8547
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8579
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadOutside
));
8615
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8651
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadOutside
));
8683
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8715
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadOutside
));
8751
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8787
Assert.Equal("a", GetSymbolNamesJoined(results.
ReadOutside
));
8818
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8853
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8884
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8919
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
8954
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
8980
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
9005
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
9058
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
9107
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
9297
Assert.Null(GetSymbolNamesJoined(results.
ReadOutside
));
9330
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
9365
Assert.Equal("result", GetSymbolNamesJoined(analysis.
ReadOutside
));
9656
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
9711
Assert.Equal("this", GetSymbolNamesJoined(analysis.
ReadOutside
));
9765
Assert.Equal("this", GetSymbolNamesJoined(analysis.
ReadOutside
));
9923
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10096
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10136
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10175
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10215
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10295
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10375
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10490
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10543
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10596
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10772
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
10956
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
11036
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11122
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
11175
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11228
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
11355
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11422
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11489
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11556
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11597
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11760
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11841
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
11965
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12089
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12150
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12222
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
12355
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
12428
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
12432
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12467
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12512
Assert.Equal("x", GetSymbolNamesJoined(analysis.
ReadOutside
));
12516
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
12552
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
ReadOutside
));
12587
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
ReadOutside
));
12622
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12657
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12692
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12727
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12762
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12797
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12832
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12867
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12902
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12937
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
12972
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13007
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13042
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13077
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13112
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13147
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13182
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
13227
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
13261
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
13296
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13331
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13366
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13404
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13439
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13474
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13509
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13544
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13579
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13614
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13649
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13684
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13721
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13756
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13791
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13826
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13861
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13896
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13936
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
13974
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadOutside
));
14014
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
14054
Assert.Equal(refModifier != "" ? "x, y" : "y", GetSymbolNamesJoined(analysis.
ReadOutside
));
14094
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
ReadOutside
));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
57
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
94
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
151
Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
208
Assert.Equal("para, by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
267
Assert.Equal("para, by", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
305
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
350
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
411
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
456
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
495
Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
539
Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
582
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
622
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
670
Assert.Equal("p, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
714
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
824
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
870
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
908
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
952
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1001
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1058
Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.
ReadOutside
), GetSymbolNamesJoined(dataFlowResults01.
ReadOutside
));
1102
Assert.Equal("refp, outp", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1145
Assert.Equal("refp, outp", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1192
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1239
Assert.Equal("p, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
));
1446
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1473
Assert.Equal("c", GetSymbolNamesJoined(analysis.
ReadOutside
));
1508
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1543
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1571
Assert.Equal("c", GetSymbolNamesJoined(analysis.
ReadOutside
));
1601
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1632
Assert.Null(GetSymbolNamesJoined(analysis.
ReadOutside
));
1662
Assert.Equal("obj", GetSymbolNamesJoined(analysis.
ReadOutside
));
1696
Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
));
1735
Assert.Null(GetSymbolNamesJoined(analysisDataflow.
ReadOutside
));
Semantics\OutVarTests.cs (2)
1129
dataFlow.
ReadOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
32757
Assert.False(dataFlow.
ReadOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
341
Assert.False(dataFlow.
ReadOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
207
if (dataFlow.
ReadOutside
.Contains(outLocalSymbol) || dataFlow.WrittenOutside.Contains(outLocalSymbol))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
315
if (analysis == null || analysis.
ReadOutside
.Contains(localSymbol) || analysis.WrittenOutside.Contains(localSymbol))
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
472
var readOutsideMap = new HashSet<ISymbol>(dataFlowAnalysisData.
ReadOutside
);
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\VisualBasicSelectionValidator.vb (1)
214
result.
ReadOutside
().Any(Function(s) Equals(s, local)) Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (406)
FlowAnalysis\FlowTestBase.vb (1)
235
AssertEx.Equal(If(readOutside, {}), analysis.
ReadOutside
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (26)
99
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
135
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
165
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
196
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
227
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
259
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
291
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
342
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
373
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
404
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
437
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
583
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
622
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
664
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
693
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
799
Assert.Equal(1, dataFlowAnalysisResults.
ReadOutside
.Count)
800
Assert.Equal("unassignedRef1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
838
Assert.Empty(dataFlowAnalysisResults.
ReadOutside
)
873
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
905
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
992
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1415
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1453
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1608
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1638
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1669
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
FlowAnalysis\RegionAnalysisTests.vb (132)
187
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
466
Assert.Equal("arg, arg1", GetSymbolNamesJoined(analysis.
ReadOutside
))
498
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
736
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
1105
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
1166
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadOutside
))
1450
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1967
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
2007
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
2046
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
2073
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadOutside
))
2233
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2270
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2590
Assert.Equal("x, a, e, g", GetSymbolNamesJoined(analysis.
ReadOutside
))
2627
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2787
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2822
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2854
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2879
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2906
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3052
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3091
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3128
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3165
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3191
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3217
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3256
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3289
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3321
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3347
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3373
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3414
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3447
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3482
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3521
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3556
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3596
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3654
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
ReadOutside
))
3688
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
ReadOutside
))
3733
Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.
ReadOutside
))
3808
Assert.Equal(GetSymbolNamesJoined(dataResults1.
ReadOutside
),
3809
GetSymbolNamesJoined(dataResults2.
ReadOutside
))
3909
Assert.Equal(GetSymbolNamesJoined(dataResults1.
ReadOutside
),
3910
GetSymbolNamesJoined(dataResults2.
ReadOutside
))
3952
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3993
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4057
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4226
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4256
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4625
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
4658
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
5540
Assert.Equal("f", GetSymbolNamesJoined(analysisResult.
ReadOutside
))
5578
Assert.Equal("local, lf", GetSymbolNamesJoined(analysisResult.
ReadOutside
))
5664
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
5753
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
5797
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
5840
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6047
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6086
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6126
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6164
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6249
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6300
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6347
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6393
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6439
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6484
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6519
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6553
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6596
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6641
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6681
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6749
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6788
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
6865
Assert.Empty(dataFlowResults.
ReadOutside
)
6916
Assert.Empty(dataFlowResults.
ReadOutside
)
6962
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7011
Assert.Equal("local, f", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7056
Assert.Empty(dataFlowResults.
ReadOutside
)
7313
Assert.Empty(dataFlowResults.
ReadOutside
)
7349
Assert.Empty(dataFlowResults.
ReadOutside
)
7387
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7425
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7459
Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7493
Assert.Empty(dataFlowResults.
ReadOutside
)
7527
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7562
Assert.Empty(dataFlowResults.
ReadOutside
)
7597
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7631
Assert.Equal("a, y", GetSymbolNamesJoined(analysis.
ReadOutside
))
7662
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
ReadOutside
))
7767
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
7821
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7870
Assert.Equal("args, igoo", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7911
Assert.Equal("args, at1, p", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7947
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
7980
Assert.Equal("var1", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8027
Assert.Equal("at", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8072
Assert.Equal("at", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8135
Assert.Equal("an", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8345
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8382
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8423
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8487
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8528
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8566
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8604
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8646
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8689
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8732
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8776
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8820
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8877
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8934
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
8986
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9038
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9090
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9142
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9194
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9248
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9303
Assert.Equal("Me, arr", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9345
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9388
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9431
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9482
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9534
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9578
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9624
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9675
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9721
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9753
Assert.Equal("obj1", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9804
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
9843
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (101)
147
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
259
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
287
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
350
Assert.Equal("s", GetSymbolNamesJoined(analysis.
ReadOutside
))
1043
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
1084
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
1124
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
ReadOutside
))
1152
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
ReadOutside
))
1324
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1574
Assert.Equal("x, a, e, g", GetSymbolNamesJoined(analysis.
ReadOutside
))
1610
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1645
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1678
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1704
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1737
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1777
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1815
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1853
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1880
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1907
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1947
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1981
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2014
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2041
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2068
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2110
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2143
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2179
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2219
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2255
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2295
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2336
Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2367
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2398
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2545
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
2579
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2997
Assert.Equal("f", GetSymbolNamesJoined(analysisResult.
ReadOutside
))
3034
Assert.Equal("local, lf", GetSymbolNamesJoined(analysisResult.
ReadOutside
))
3105
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3194
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3238
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3281
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3352
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3391
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3431
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3469
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3554
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3605
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3652
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3698
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3744
Assert.Equal("Me, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3789
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3825
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3862
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3906
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3952
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3993
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4074
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4151
Assert.Empty(dataFlowResults.
ReadOutside
)
4196
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4244
Assert.Equal("local, f", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4288
Assert.Empty(dataFlowResults.
ReadOutside
)
4484
Assert.Equal("a, y", GetSymbolNamesJoined(analysis.
ReadOutside
))
4592
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4647
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4697
Assert.Equal("args, igoo", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4739
Assert.Equal("args, at1, p", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4776
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4810
Assert.Equal("var1", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4858
Assert.Equal("at", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4904
Assert.Equal("at", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
4968
Assert.Equal("an", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5139
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5205
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5247
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5286
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5325
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5368
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5412
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5456
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5501
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5546
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5604
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5662
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5715
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5768
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5821
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5876
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5932
Assert.Equal("Me, arr", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
5974
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6018
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6062
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6114
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6167
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6212
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6259
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6311
Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6358
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6391
Assert.Equal("obj1", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6443
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
6483
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
FlowAnalysis\TryLockUsingStatementTests.vb (47)
65
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
152
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
202
Assert.Equal("p, s", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
249
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
306
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
366
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
423
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
479
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
535
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
584
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
627
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
670
Assert.Equal("sb, sb1", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
713
Assert.Equal("sb, ss", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
762
Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
809
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
857
Assert.Equal("p, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
901
Assert.Equal("p, z", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
982
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1041
Assert.Equal("p, y, ex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1081
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1134
Assert.Equal("x, local", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1177
Assert.Equal("pex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1234
Assert.Equal("pex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1289
Assert.Equal("s, pex, lex", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1330
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
ReadOutside
))
1381
Assert.Equal("refp", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1432
Assert.Equal("refp", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1480
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1529
Assert.Equal("p, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1577
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1612
Assert.Equal("p, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1752
Assert.Equal(0, dataFlowAnalysisResults.
ReadOutside
.Count)
1799
Assert.Equal(1, dataFlowAnalysisResults.
ReadOutside
.Count)
1800
Assert.Equal("lock", dataFlowAnalysisResults.
ReadOutside
(0).ToDisplayString)
1852
Assert.Equal(0, dataFlowAnalysisResults.
ReadOutside
.Count)
1896
Assert.Equal("y", GetSymbolNamesJoined(analysis.
ReadOutside
))
1932
Assert.Empty(analysis.
ReadOutside
)
1971
Assert.Empty(analysis.
ReadOutside
)
2003
Assert.Empty(analysis.
ReadOutside
)
2039
Assert.Empty(analysis.
ReadOutside
)
2078
Assert.Empty(analysis.
ReadOutside
)
2114
Assert.Equal(Nothing, GetSymbolNamesJoined(dataflowAnalysis.
ReadOutside
))
2158
Assert.Equal(Nothing, GetSymbolNamesJoined(dataflowAnalysis.
ReadOutside
))
2219
Assert.Equal(0, dataFlowAnalysisResults.
ReadOutside
.Count)
2281
Assert.Equal(0, dataFlowAnalysisResults.
ReadOutside
.Count)
2339
Assert.Equal(2, dataFlowAnalysisResults.
ReadOutside
.Count)
2399
Assert.Equal(0, dataFlowAnalysisResults.
ReadOutside
.Count)
Semantics\ForeachTest.vb (1)
1330
Assert.Equal(ReadOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadOutside
))
Semantics\ForLoopTest.vb (1)
596
Assert.Equal(ReadOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadOutside
))
Semantics\GotoTests.vb (3)
57
Assert.Equal("lists, item", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
101
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
144
Assert.Equal("str", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
Semantics\IFOperatorTest.vb (1)
1190
Assert.Equal(ReadOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadOutside
))
Semantics\IteratorTests.vb (1)
197
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
Semantics\MeMyBaseMyClassTests.vb (7)
53
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
93
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
127
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
161
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
199
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
235
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
271
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
Semantics\MultiDimensionalTest.vb (2)
340
Assert.Equal(ReadOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadOutside
))
359
Assert.Equal(ReadOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
ReadOutside
))
Semantics\QueryExpressions_FlowAnalysis.vb (74)
118
Assert.Equal("q, y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
165
Assert.Equal("y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
212
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
263
Assert.Equal("q, y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
314
Assert.Equal("q, y, s1, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
361
Assert.Equal("q, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
408
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
449
Assert.Equal("q, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
450
Assert.NotSame(dataFlowAnalysisResults.ReadInside(0), GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
)(1))
491
Assert.Equal("q, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
532
Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
573
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
614
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
655
Assert.Equal("q, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
696
Assert.Equal("q, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
760
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
824
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
888
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1023
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1224
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1279
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1334
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1389
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1444
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1499
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1554
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1610
Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1654
Assert.Equal("q, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1704
Assert.Equal("q, s1, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1760
Assert.Equal("q, s1, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1816
Assert.Equal("q, s1, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1872
Assert.Equal("q, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1924
Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
1976
Assert.Equal("q, s1, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2028
Assert.Equal("q, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2080
Assert.Equal("q, s1, s2, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2132
Assert.Equal("q, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2182
Assert.Equal("q, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2241
Assert.Equal("qi, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2300
Assert.Equal("qi, qb, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2359
Assert.Equal("qi, qb, qs, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2417
Assert.Equal("qi, qb, qs, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2475
Assert.Equal("qi, qb, qs, s1, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2533
Assert.Equal("qi, qb, qs, s1, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2598
Assert.Equal("s1, i1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2663
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2728
Assert.Equal("qi, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2792
Assert.Equal("qi, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2863
Assert.Equal("qi, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
2934
Assert.Equal("qi, qb, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3005
Assert.Equal("qi, qb, qs, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3076
Assert.Equal("qi, qb, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3147
Assert.Equal("qi, qb, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3218
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3273
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3328
Assert.Equal("s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3383
Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3438
Assert.Equal("qi, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3493
Assert.Equal("qi, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3548
Assert.Equal("qi, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3603
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3658
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3715
Assert.Equal("qi, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3772
Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3829
Assert.Equal("qb, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3886
Assert.Equal("qb, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
3943
Assert.Equal("qi, qb", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4000
Assert.Equal("qi, qb, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4057
Assert.Equal("qi, qb, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4114
Assert.Equal("qi, qb, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4171
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4228
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4264
Assert.Equal("arr", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
4297
Assert.Equal("arr", GetSymbolNamesJoined(dataFlowAnalysisResults.
ReadOutside
))
Semantics\SyncLockTests.vb (6)
46
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
80
Assert.Equal("x1", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
113
Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
148
Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
181
Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
209
Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.
ReadOutside
))
Semantics\WithBlockSemanticModelTests.vb (3)
146
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
ReadOutside
))
178
Assert.Empty(dataFlowResults.
ReadOutside
)
210
Assert.Empty(dataFlowResults.
ReadOutside
)