2 overrides of DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
115
public override ImmutableArray<ISymbol>
DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
84
Public Overrides ReadOnly Property
DefinitelyAssignedOnEntry
As ImmutableArray(Of ISymbol)
519 references to DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
141
if (dataFlow != null && !dataFlow.
DefinitelyAssignedOnEntry
.Contains(exprSymbol))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (260)
FlowAnalysis\RegionAnalysisTests.cs (260)
61
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
97
Assert.Equal("args, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
137
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
164
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
234
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
259
Assert.Equal("s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
280
Assert.Equal("this, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
301
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
389
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
411
Assert.Equal("this, s, i, myvar", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
435
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
464
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
487
Assert.Equal("this, x, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
507
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
528
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
549
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
570
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
591
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
612
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
633
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
654
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
675
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
696
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
713
Assert.Equal("args, a, b, d", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
730
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
747
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
764
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
781
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
798
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
815
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
835
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
855
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
874
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
893
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
913
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
933
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
956
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
984
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1012
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1043
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1064
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1081
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1104
Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1127
Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1148
Assert.Equal("this", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1173
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1198
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1224
Assert.Equal("this, t, ret", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1249
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1279
Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1309
Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
1366
GetSymbolNamesJoined(results2.
DefinitelyAssignedOnEntry
));
1416
Assert.Null(GetSymbolNamesJoined(results2.
DefinitelyAssignedOnEntry
));
1441
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1458
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1476
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1497
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
1570
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1598
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1632
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1672
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1713
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1754
Assert.Equal("s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1793
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1830
Assert.Equal("i, p", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1864
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1899
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1934
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
1969
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2008
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2048
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2082
Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2120
Assert.Equal("b0, b1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2156
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2193
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2253
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
2284
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2313
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2346
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2371
Assert.Equal("args", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2405
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2439
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2473
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
2496
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
4538
Assert.Equal("args, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
4659
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
DefinitelyAssignedOnEntry
));
4705
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
DefinitelyAssignedOnEntry
));
5004
Assert.Equal("this", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
5085
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5118
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5147
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5175
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5194
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5223
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
5251
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5278
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5312
Assert.Null(GetSymbolNamesJoined(results1.
DefinitelyAssignedOnEntry
));
5345
Assert.Equal("p, x, y", GetSymbolNamesJoined(results1.
DefinitelyAssignedOnEntry
));
5375
Assert.Equal("this, ary", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
5414
Assert.Equal("this, i", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnEntry
));
5447
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5662
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5692
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5720
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5747
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5774
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5809
Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5842
Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5876
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
5908
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6021
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6058
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6095
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6134
Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6173
Assert.Equal("this, node", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6257
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
6325
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
6570
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6601
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6631
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6661
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6696
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6734
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6796
Assert.Equal("x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6823
Assert.Equal("arg", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6853
Assert.Equal("this, x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6883
Assert.Equal("this", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6913
Assert.Equal("this, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6945
Assert.Equal("this", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
6981
Assert.Equal("this, x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
7015
Assert.Equal("this", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
7047
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
7079
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
7468
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7498
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7528
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7561
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7591
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7621
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7651
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7681
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7711
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7741
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7771
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7801
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7830
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7859
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7884
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7920
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
7970
Assert.Equal("this, test, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
8069
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
8157
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8188
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8220
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8256
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8290
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8325
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8365
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8406
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8441
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8476
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8511
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8543
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8575
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8611
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8647
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8679
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8711
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8747
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8783
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8814
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8849
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8880
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8915
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
8951
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
8977
Assert.Equal("i, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
9002
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
9047
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
9096
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
));
9293
Assert.Equal("value", GetSymbolNamesJoined(results.
DefinitelyAssignedOnEntry
));
9327
Assert.Equal("value", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
9362
Assert.Equal("value", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
9652
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
9707
Assert.Equal((thisIsAssignedOnEntry ? "this, " : "") + "x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
9761
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
9919
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10092
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10132
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
10171
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10211
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10291
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
10371
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
10486
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
10539
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10592
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10768
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
10952
Assert.Equal("this" + (xIsAssignedOnEntry ? ", x" : ""), GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11032
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11118
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11171
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11224
Assert.Equal("this", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11351
Assert.Equal("this, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11418
Assert.Equal("y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11485
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11552
Assert.Equal("z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11593
Assert.Equal("this, x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11756
Assert.Equal("this, x, y, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
11837
Assert.Equal("y, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
11961
Assert.Equal("x, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12085
Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12146
Assert.Equal("this, x, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
, sort: true));
12218
Assert.Equal("z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12351
Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12421
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12463
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12505
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12548
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12583
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12618
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12653
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12688
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12723
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12758
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12793
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12828
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12863
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12898
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12933
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
12968
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13003
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13038
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13073
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13108
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13143
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13178
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13223
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13257
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13292
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13327
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13362
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13400
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13435
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13470
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13505
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13540
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13575
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13610
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13645
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13680
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13717
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13752
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13787
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13822
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13857
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13892
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13932
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
13970
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
14010
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
14050
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
14090
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
141
if (dataFlow != null && !dataFlow.
DefinitelyAssignedOnEntry
.Contains(exprSymbol))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (256)
FlowAnalysis\FlowTestBase.vb (1)
232
AssertEx.Equal(If(definitelyAssignedOnEntry, {}), analysis.
DefinitelyAssignedOnEntry
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\RegionAnalysisTests.vb (125)
88
Assert.Equal("args, s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
192
Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
213
Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
463
Assert.Equal("args, lambda, arg, arg1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
495
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
539
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
583
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
733
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1101
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1163
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1299
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1323
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1346
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1371
Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1395
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1420
Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1447
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1477
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
1502
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1533
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1565
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1651
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1677
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1702
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1727
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1753
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1778
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1804
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1829
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1855
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1878
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1903
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1929
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1964
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2004
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2043
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2070
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2094
Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2136
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2159
Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2180
Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2203
Assert.Equal("builder", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2230
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2267
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2296
Assert.Equal("Me, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2320
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2340
Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2364
Assert.Equal("Me", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2392
Assert.Equal("Me, f", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2415
Assert.Equal("Me, x, a, tmp", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2444
Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2482
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2503
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2524
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2561
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2592
Assert.Equal("Me, x, a, b, c", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2624
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2736
Assert.Equal("Me, x, ext", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2755
Assert.Equal("Me, x, ext", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
2784
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2819
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2851
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2876
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2903
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2927
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2950
Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2972
Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2994
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3017
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3049
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3088
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3125
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3162
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3188
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3214
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3253
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3285
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3317
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3343
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3369
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3410
Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3443
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3479
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3518
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3553
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3593
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3651
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnEntry
))
3685
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnEntry
))
3730
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnEntry
))
3949
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3990
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4053
Assert.Equal("b, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4078
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4101
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4124
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4148
Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4172
Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4195
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4223
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4253
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4283
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4311
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4339
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4367
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4393
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4419
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4447
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4475
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4503
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4531
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4621
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
4655
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
5535
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnEntry
))
5573
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnEntry
))
6861
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6912
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6958
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7007
Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7052
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7309
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7345
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7383
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7421
Assert.Equal("args, k", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7455
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
7489
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (130)
144
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
256
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
283
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
308
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
347
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
629
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
719
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
746
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
772
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
798
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
825
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
851
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
878
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
904
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
931
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
955
Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1040
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1081
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1121
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1149
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1174
Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1198
Assert.Equal("Me, t", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1220
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1244
Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1266
Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1290
Assert.Equal("builder", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1321
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1349
Assert.Equal("Me, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1374
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1395
Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1419
Assert.Equal("Me, x, a, tmp", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
1607
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1642
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1675
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1701
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1734
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1774
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1812
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1850
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1877
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1904
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1944
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
1977
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2010
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2037
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2064
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2106
Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2139
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2176
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2216
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2252
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2292
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2333
Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2364
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2395
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2424
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2451
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2541
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnEntry
))
2576
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
2992
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnEntry
))
3030
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnEntry
))
3102
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3191
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3235
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3278
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3349
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3388
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3428
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3466
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3551
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3602
Assert.Equal("i, l, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3649
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3695
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3741
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3786
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3822
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3859
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3903
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3949
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
3990
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4070
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4147
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4192
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4240
Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4284
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4328
Assert.Equal("args, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4356
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4380
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4403
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4427
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4451
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4480
Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnEntry
))
4589
Assert.Equal("Me, x, x, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnEntry
))
4643
Assert.Equal("local", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4693
Assert.Equal("args, igoo, at1", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4735
Assert.Equal("args, at1", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4772
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4806
Assert.Equal("Me, args, var1", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4854
Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4900
Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
4964
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5135
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5201
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5243
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5282
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5321
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5364
Assert.Equal("Me, i, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5408
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5452
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5497
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5542
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5600
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5658
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5711
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5764
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5817
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5872
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5928
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
5970
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6014
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6058
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6110
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6163
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6208
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6255
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6307
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6354
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6387
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6439
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
6479
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnEntry
))
Microsoft.CodeAnalysis.Workspaces (1)
ReassignedVariable\AbstractReassignedVariableService.cs (1)
381
if (analysis.
DefinitelyAssignedOnEntry
.Contains(localOrParameter))