2 overrides of VariablesDeclared
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
57
public override ImmutableArray<ISymbol>
VariablesDeclared
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
47
Public Overrides ReadOnly Property
VariablesDeclared
As ImmutableArray(Of ISymbol)
781 references to VariablesDeclared
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
262
foreach (var local in df.
VariablesDeclared
)
SymbolKey\SymbolKeyTestBase.cs (2)
328
list.AddRange(df.
VariablesDeclared
);
338
foreach (var v in df.
VariablesDeclared
)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (353)
FlowAnalysis\IterationJumpYieldStatementTests.cs (32)
47
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
80
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
110
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
140
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
170
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
199
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
229
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
258
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
304
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
333
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
362
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
391
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
420
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
449
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
573
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
635
Assert.Equal("i, j", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
655
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
692
Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
743
Assert.Equal("c", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
763
Assert.Equal("v", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
792
Assert.Equal("v, x", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
824
Assert.Equal("x", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
856
Assert.Equal("x", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
887
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
916
Assert.Equal(2, flow.
VariablesDeclared
.Count());
917
Assert.True(flow.
VariablesDeclared
.Any((s) => s.Name == "b"));
918
Assert.True(flow.
VariablesDeclared
.Any((s) => s.Name == "s"));
978
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1006
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1034
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1062
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1105
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
FlowAnalysis\PatternMatchingTest5.cs (1)
35
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
FlowAnalysis\PatternsVsRegions.cs (5)
35
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
61
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
87
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
113
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
138
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
FlowAnalysis\RegionAnalysisTests.cs (275)
57
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
93
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
133
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
238
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
298
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
431
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
460
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
952
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
980
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1008
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1039
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1100
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1124
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1145
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1170
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1195
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1221
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1245
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1275
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1305
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1440
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1457
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1475
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1496
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
1537
var tmp = dataFlows.
VariablesDeclared
; // ensure no exception thrown
1538
Assert.Empty(dataFlows.
VariablesDeclared
);
1552
Assert.Empty(dataFlows.
VariablesDeclared
);
1593
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1627
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1667
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1708
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1749
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1788
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1825
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1859
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1894
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1929
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1964
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2003
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2043
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2077
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2115
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2151
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2188
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2248
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2277
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
2306
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
2339
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
2492
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
2544
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
));
2574
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
));
2610
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
));
2644
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
));
2732
Assert.Equal("b", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2778
Assert.Equal("y, y2, rrr", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2851
Assert.Equal("b", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
2879
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
2911
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3011
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3040
Assert.Equal("x, z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3074
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3130
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3146
Assert.Equal("obj", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3250
Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3266
Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3315
Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3332
Assert.Equal("a, a", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3333
var intsym = analysis.
VariablesDeclared
.First() as ILocalSymbol;
3334
var longsym = analysis.
VariablesDeclared
.Last() as ILocalSymbol;
3355
Assert.Equal("j", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
3825
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3857
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3889
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3921
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
3986
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4019
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4044
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4119
Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4144
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4206
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4300
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4329
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
4360
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
4386
Assert.Null(GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
4409
Assert.Empty(dataFlows.
VariablesDeclared
);
4467
Assert.Equal("ret", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4494
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4531
Assert.Equal("p, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
4656
Assert.Equal("x1", GetSymbolNamesJoined(dataFlow.
VariablesDeclared
));
4702
Assert.Null(GetSymbolNamesJoined(dataFlow.
VariablesDeclared
));
5082
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5191
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5280
Assert.Equal("testDel, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5305
Assert.Equal("testDel, x, y", GetSymbolNamesJoined(results1.
VariablesDeclared
));
5407
Assert.Equal("d", GetSymbolNamesJoined(dataFlows.
VariablesDeclared
));
5440
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5496
Assert.Equal(5, flowAnalysis.
VariablesDeclared
.Count());
5501
Assert.Equal(0, flowAnalysis.
VariablesDeclared
.Count());
5506
Assert.Equal(1, flowAnalysis.
VariablesDeclared
.Count());
5542
Assert.Null(GetSymbolNamesJoined(flowAnalysis.
VariablesDeclared
));
5586
Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.
VariablesDeclared
));
5629
Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.
VariablesDeclared
));
5658
Assert.Equal("q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5688
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5716
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5743
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5770
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5802
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5837
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5869
Assert.Equal("temp, x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5901
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
5934
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
6017
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
6054
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
);
6091
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
);
6130
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
);
6169
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
);
6250
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
6318
Assert.Equal("o", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
6523
Assert.Equal("a, b, c, d, e, f, g, h, i, j", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
6546
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
6568
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
6599
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
6629
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
6659
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
6694
Assert.Equal("x", GetSymbolNamesJoined(results.
VariablesDeclared
));
6732
Assert.Equal("x", GetSymbolNamesJoined(results.
VariablesDeclared
));
6762
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
6794
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
6828
Assert.Equal("localValue", GetSymbolNamesJoined(results.
VariablesDeclared
));
6858
Assert.Equal("y", GetSymbolNamesJoined(results.
VariablesDeclared
));
6888
Assert.Equal("y", GetSymbolNamesJoined(results.
VariablesDeclared
));
6920
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
6943
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
6977
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
7013
Assert.Equal("y", GetSymbolNamesJoined(results.
VariablesDeclared
));
7040
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
7072
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
7107
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7141
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7175
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7209
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7247
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7277
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7308
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7348
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7389
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7461
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7491
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7521
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7554
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7584
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7614
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7644
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7674
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7704
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7734
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7764
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7794
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7823
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7852
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7877
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7913
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
7963
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
8022
Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
8064
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
8155
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8186
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8218
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8254
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8288
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8323
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8363
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8404
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8439
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8474
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8509
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8541
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8573
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8609
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8645
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8677
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8709
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8745
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
8781
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8812
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8847
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8878
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8913
Assert.Equal("a", GetSymbolNamesJoined(results.
VariablesDeclared
));
8948
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
8974
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
8999
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
9044
Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
9093
Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
9291
Assert.Null(GetSymbolNamesJoined(results.
VariablesDeclared
));
9331
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
9366
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
9647
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
9702
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
9756
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
9914
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10087
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10127
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10166
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10206
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10286
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10366
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10481
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10534
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10587
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10763
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
10947
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11027
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11113
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11166
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11219
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11346
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11413
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11480
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11547
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11588
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11751
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11832
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
11956
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12080
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12141
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12213
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12346
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12408
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12458
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12492
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12543
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12578
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12613
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12648
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12683
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12718
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12753
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12788
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12823
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12858
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12893
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12928
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12963
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
12998
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13033
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13068
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13103
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13138
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13173
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13218
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13252
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13287
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13322
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13357
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13395
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13430
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13465
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13500
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13535
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13570
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13605
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13640
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13675
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13712
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13747
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13782
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13817
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13852
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13887
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13927
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
13965
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
14005
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
14045
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
14085
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
52
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
89
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
146
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
203
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
262
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
300
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
345
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
406
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
451
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
490
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
534
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
577
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
617
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
662
Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
709
Assert.Equal("s, ax, s, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
818
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
864
Assert.Equal("s, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
903
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
947
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
996
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1053
Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.
VariablesDeclared
), GetSymbolNamesJoined(dataFlowResults01.
VariablesDeclared
));
1095
Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1138
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1185
Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1232
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
));
1442
Assert.Equal("c", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1469
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1504
Assert.Equal("c", GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1539
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1567
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1597
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1628
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1658
Assert.Null(GetSymbolNamesJoined(analysis.
VariablesDeclared
));
1692
Assert.Null(GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
));
1731
Assert.Null(GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
));
Semantics\OutVarTests.cs (3)
1113
Assert.True(dataFlow.
VariablesDeclared
.Contains(symbol, ReferenceEqualityComparer.Instance));
17754
Assert.Equal("System.Int32 x2", dataFlow.
VariablesDeclared
.Single().ToTestDisplayString());
32799
Assert.False(dataFlow.
VariablesDeclared
.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
335
Assert.False(dataFlow.
VariablesDeclared
.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
83
var captures = dataFlow.CapturedInside.Except(dataFlow.
VariablesDeclared
).Except(declaredSymbol.Parameters).ToList();
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
113
var requiresBlock = !operation.SemanticModel.AnalyzeDataFlow(node).
VariablesDeclared
.IsDefaultOrEmpty;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypeTests.cs (1)
1680
var localvars = model.AnalyzeDataFlow(mnode.Body).
VariablesDeclared
;
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
526
using var _4 = GetPooledSymbolSet(dataFlowAnalysisData.
VariablesDeclared
, out var variableDeclaredMap);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
254
var captures = analysis.CapturedInside.Except(analysis.
VariablesDeclared
).ToImmutableArray();
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\VisualBasicSelectionValidator.vb (1)
203
For Each symbol In result.
VariablesDeclared
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (419)
FlowAnalysis\FlowTestBase.vb (1)
236
AssertEx.Equal(If(variablesDeclared, {}), analysis.
VariablesDeclared
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (30)
95
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
131
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
161
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
192
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
223
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
255
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
287
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
338
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
369
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
400
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
433
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
578
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
617
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
659
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
688
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
719
Assert.Equal("i", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
745
Assert.Equal("a", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
801
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
)
832
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
868
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
)
900
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
) ' should be empty, or it could not be extracted.
987
Assert.Empty(dataFlowAnalysisResults.
VariablesDeclared
)
1347
Assert.Equal(2, flow.
VariablesDeclared
.Count)
1348
Assert.Equal(True, flow.
VariablesDeclared
.Any(Function(s) s.Name = "b"))
1349
Assert.Equal(True, flow.
VariablesDeclared
.Any(Function(s) s.Name = "s"))
1409
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1447
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1604
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1634
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1665
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
FlowAnalysis\RegionAnalysisTests.vb (131)
467
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
499
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
737
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1097
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1298
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1322
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1345
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1370
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1394
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1419
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1451
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1476
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1501
Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1530
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1562
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1875
Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1902
Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2067
Assert.Equal("j", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2226
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2263
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2620
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2780
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2815
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2847
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2872
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2899
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3045
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3084
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3121
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3158
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3184
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3210
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3249
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3281
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3313
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3339
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3365
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3406
Assert.Equal("flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3439
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3475
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3514
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3549
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3589
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3945
Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3986
Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4049
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4219
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4249
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4558
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
4587
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
4617
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
4651
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5528
Assert.Equal("p", GetSymbolNamesJoined(analysisResult.
VariablesDeclared
))
5567
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisResult.
VariablesDeclared
))
5659
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5745
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5789
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5832
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5923
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
5980
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6039
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6078
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6118
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6156
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6241
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6292
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6339
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6385
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6431
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6476
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6511
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6548
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6591
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6636
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6676
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6744
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6780
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
6854
Assert.Empty(dataFlowResults.
VariablesDeclared
)
6905
Assert.Empty(dataFlowResults.
VariablesDeclared
)
6951
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7000
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7045
Assert.Empty(dataFlowResults.
VariablesDeclared
)
7302
Assert.Empty(dataFlowResults.
VariablesDeclared
)
7338
Assert.Empty(dataFlowResults.
VariablesDeclared
)
7376
Assert.Empty(dataFlowResults.
VariablesDeclared
)
7448
Assert.Empty(dataFlowResults.
VariablesDeclared
)
7482
Assert.Equal("i, q", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7622
Assert.Equal("l1", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
7653
Assert.Equal("inside", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
7762
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
7816
Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7865
Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7906
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7942
Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
7975
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8022
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8067
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8130
Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8336
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8373
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8414
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8478
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8519
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8557
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8595
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8637
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8680
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8723
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8767
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8811
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8868
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8925
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
8977
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9029
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9081
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9133
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9185
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9239
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9294
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9340
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9383
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9426
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9477
Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9529
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9573
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9619
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9670
Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9716
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9749
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9799
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
9838
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (108)
148
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
260
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
279
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
449
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
472
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
496
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
519
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
543
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
567
Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
595
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
626
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
VariablesDeclared
))
952
Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
980
Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1146
Assert.Equal("j", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1317
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1603
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1638
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1671
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1697
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1730
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1770
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1808
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1846
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1873
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1900
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1940
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1973
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2006
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2033
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2060
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2102
Assert.Equal("flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2135
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2172
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2212
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2248
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2288
Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2329
Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2360
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2391
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2478
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
2507
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
2537
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
2572
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2987
Assert.Equal("p", GetSymbolNamesJoined(analysisResult.
VariablesDeclared
))
3025
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisResult.
VariablesDeclared
))
3098
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3186
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3230
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3273
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3344
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3383
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3423
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3461
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3546
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3597
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3644
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3690
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3736
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3781
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3817
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3855
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3899
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3945
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3986
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4066
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4142
Assert.Empty(dataFlowResults.
VariablesDeclared
)
4187
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4235
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4279
Assert.Empty(dataFlowResults.
VariablesDeclared
)
4475
Assert.Equal("l1", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
4585
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4640
Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4690
Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4732
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4769
Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4803
Assert.Null(GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4851
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4897
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
4961
Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5130
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5196
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5238
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5277
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5316
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5359
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5403
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5447
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5492
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5537
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5595
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5653
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5706
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5759
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5812
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5867
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5923
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
5967
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6011
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6055
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6107
Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6160
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6205
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6252
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6304
Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6351
Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6385
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6436
Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
6476
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
FlowAnalysis\TryLockUsingStatementTests.vb (49)
60
Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
147
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
197
Assert.Equal("e2", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
244
Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
301
Assert.Equal("ex, ex", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
360
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
417
Assert.Equal("ex", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
529
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
578
Assert.Equal("e, e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
622
Assert.Equal("y, ex, y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
663
Assert.Equal("ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
707
Assert.Equal("ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
756
Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
802
Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
851
Assert.Equal("ex, e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
896
Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
976
Assert.Equal("s, ax, s, ex, s, s", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1035
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1075
Assert.Equal("y, e, e", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1128
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1172
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1228
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1283
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1324
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.
VariablesDeclared
))
1374
Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1424
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1473
Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1522
Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1569
Assert.Equal("e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1603
Assert.Equal("ap", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1753
Assert.Equal(0, dataFlowAnalysisResults.
VariablesDeclared
.Count)
1802
Assert.Equal(0, dataFlowAnalysisResults.
VariablesDeclared
.Count)
1853
Assert.Equal(0, dataFlowAnalysisResults.
VariablesDeclared
.Count)
1891
Assert.Empty(analysis.
VariablesDeclared
)
1929
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
1968
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2000
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2036
Assert.Equal("goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2075
Assert.Equal("x, y, y", GetSymbolNamesJoined(analysis.
VariablesDeclared
))
2111
Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.
VariablesDeclared
))
2155
Assert.Equal("i", GetSymbolNamesJoined(dataflowAnalysis.
VariablesDeclared
))
2221
Assert.Equal(2, dataFlowAnalysisResults.
VariablesDeclared
.Count)
2222
Assert.Equal("goo1", dataFlowAnalysisResults.
VariablesDeclared
(0).ToDisplayString)
2223
Assert.Equal("goo2", dataFlowAnalysisResults.
VariablesDeclared
(1).ToDisplayString)
2283
Assert.Equal(0, dataFlowAnalysisResults.
VariablesDeclared
.Count)
2343
Assert.Equal(0, dataFlowAnalysisResults.
VariablesDeclared
.Count)
2401
Assert.Equal(2, dataFlowAnalysisResults.
VariablesDeclared
.Count)
2402
Assert.Equal("goo1", dataFlowAnalysisResults.
VariablesDeclared
(0).ToDisplayString)
2403
Assert.Equal("goo2", dataFlowAnalysisResults.
VariablesDeclared
(1).ToDisplayString)
Semantics\ForeachTest.vb (1)
1328
Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.
VariablesDeclared
))
Semantics\ForLoopTest.vb (1)
594
Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.
VariablesDeclared
))
Semantics\GotoTests.vb (3)
52
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
96
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
139
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
Semantics\IFOperatorTest.vb (1)
1188
Assert.Equal(variablesDeclared, GetSymbolNamesSortedAndJoined(analyze.
VariablesDeclared
))
Semantics\IteratorTests.vb (1)
192
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
Semantics\MeMyBaseMyClassTests.vb (7)
48
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
88
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
122
Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
156
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
194
Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
230
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
266
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
VariablesDeclared
))
Semantics\MultiDimensionalTest.vb (2)
338
Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.
VariablesDeclared
))
357
Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.
VariablesDeclared
))
Semantics\QueryExpressions_FlowAnalysis.vb (75)
113
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
160
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
207
Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
258
Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
309
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
350
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
402
Assert.Equal("s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
403
Assert.NotSame(dataFlowAnalysisResults.
VariablesDeclared
(0), dataFlowAnalysisResults.
VariablesDeclared
(1))
444
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
486
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
527
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
568
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
609
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
650
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
691
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
755
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
819
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
883
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1018
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1219
Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1274
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1329
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1384
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1439
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1494
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1549
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1605
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1649
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1699
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1755
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1811
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1867
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1919
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
1971
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2023
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2075
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2127
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2177
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2236
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2295
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2354
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2412
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2470
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2528
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2593
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2658
Assert.Equal("s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2723
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2787
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2858
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
2929
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3000
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3071
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3142
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3213
Assert.Equal("s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3268
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3323
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3378
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3433
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3488
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3543
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3598
Assert.Equal("s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3653
Assert.Equal("s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3710
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3767
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3824
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3881
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3938
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
3995
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4052
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4109
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4166
Assert.Equal("t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4223
Assert.Equal("t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4259
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
4292
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
VariablesDeclared
))
Semantics\SyncLockTests.vb (6)
41
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
75
Assert.Equal("x1", GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
108
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
143
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
176
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
204
Assert.Equal("x", GetSymbolNamesJoined(analysisDataflow.
VariablesDeclared
))
Semantics\WithBlockSemanticModelTests.vb (3)
141
Assert.Empty(dataFlowResults.
VariablesDeclared
)
173
Assert.Empty(dataFlowResults.
VariablesDeclared
)
205
Assert.Empty(dataFlowResults.
VariablesDeclared
)