2 overrides of DefinitelyAssignedOnExit
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
122
public override ImmutableArray<ISymbol>
DefinitelyAssignedOnExit
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
90
Public Overrides ReadOnly Property
DefinitelyAssignedOnExit
As ImmutableArray(Of ISymbol)
518 references to DefinitelyAssignedOnExit
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AbstractAssignOutParametersCodeFixProvider.cs (1)
123
p => !dataFlow.
DefinitelyAssignedOnExit
.Contains(p));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (260)
FlowAnalysis\RegionAnalysisTests.cs (260)
62
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
98
Assert.Equal("args, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
138
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
165
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
235
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
260
Assert.Equal("s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
281
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
302
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
390
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
412
Assert.Equal("this, s, i, myvar", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
436
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
465
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
488
Assert.Equal("this, x, a, x, c", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
508
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
529
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
550
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
571
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
592
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
613
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
634
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
655
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
676
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
697
Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
714
Assert.Equal("args, a, b, d, f", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
731
Assert.Equal("args, a, b, d", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
748
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
765
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
782
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
799
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
816
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
836
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
856
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
875
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
894
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
914
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
934
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
957
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
985
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1013
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1044
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1065
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1082
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1105
Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1128
Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1149
Assert.Equal("this", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1174
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1199
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1225
Assert.Equal("this, t, ret", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1250
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1280
Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1310
Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
1368
GetSymbolNamesJoined(results2.
DefinitelyAssignedOnExit
));
1417
Assert.Null(GetSymbolNamesJoined(results2.
DefinitelyAssignedOnExit
));
1442
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1459
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1477
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1498
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
1571
Assert.Equal("args, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1599
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1633
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1673
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1714
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1755
Assert.Equal("s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1794
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1831
Assert.Equal("i, p", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1865
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1900
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1935
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
1970
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2009
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2049
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2083
Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2121
Assert.Equal("b0, b1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2157
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2194
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2254
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
2285
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2314
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2347
Assert.Null(GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2372
Assert.Equal("args", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2406
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2440
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2474
Assert.Equal("x", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
2497
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
4539
Assert.Equal("args, value, p, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
4660
Assert.Equal("this, x1", GetSymbolNamesJoined(dataFlow.
DefinitelyAssignedOnExit
));
4706
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
DefinitelyAssignedOnExit
));
5005
Assert.Equal("this", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
5086
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5119
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5148
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5176
Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5195
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5224
Assert.Equal("this, x, a, y, lambda", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
5252
Assert.Equal("args, f", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5279
Assert.Equal("args, testDel", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5313
Assert.Equal("testDel", GetSymbolNamesJoined(results1.
DefinitelyAssignedOnExit
));
5346
Assert.Equal("p, x, y", GetSymbolNamesJoined(results1.
DefinitelyAssignedOnExit
));
5376
Assert.Equal("this, ary", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
5415
Assert.Equal("this, i, d", GetSymbolNamesJoined(dataFlows.
DefinitelyAssignedOnExit
));
5448
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5663
Assert.Equal("nums, q2", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5693
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5721
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5748
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5775
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5810
Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5843
Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5877
Assert.Equal("args, temp", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
5909
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6022
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6059
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6096
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6135
Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6174
Assert.Equal("this, node", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6258
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
6326
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
6571
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6602
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6632
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6662
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6697
Assert.Equal("x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6735
Assert.Equal("x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6797
Assert.Equal("x", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6824
Assert.Equal("arg, localValue", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6854
Assert.Equal("this, x, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6884
Assert.Equal("this, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6914
Assert.Equal("this, x, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6946
Assert.Equal("this", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
6982
Assert.Equal("this, x, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
7016
Assert.Equal("this, x, y", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
7048
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
7080
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
7469
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7499
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7529
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7562
Assert.Equal("this, x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7592
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7622
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7652
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7682
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7712
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7742
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7772
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7802
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7831
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7860
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7885
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7921
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
7971
Assert.Equal("this, test, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
8070
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
8158
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8189
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8221
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8257
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8291
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8326
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8366
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8407
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8442
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8477
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8512
Assert.Null(GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8544
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8576
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8612
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8648
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8680
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8712
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8748
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8784
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8815
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8850
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8881
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8916
Assert.Equal("a", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
8952
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
8978
Assert.Equal("i, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
9003
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
9056
Assert.Equal(definitelyAssigned + ", args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
9105
Assert.Equal(definitelyAssigned + ", args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
));
9294
Assert.Equal("value", GetSymbolNamesJoined(results.
DefinitelyAssignedOnExit
));
9328
Assert.Equal("value", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
9363
Assert.Equal("value", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
9653
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
9708
Assert.Equal((thisIsAssignedOnEntry ? "this, " : "") + "x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
9762
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
9920
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10093
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10133
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
10172
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10212
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10292
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
10372
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
10487
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
10540
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10593
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10769
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
10953
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11033
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11119
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11172
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11225
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11352
Assert.Equal("this, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11419
Assert.Equal("y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11486
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11553
Assert.Equal("z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11594
Assert.Equal("this, x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11757
Assert.Equal("this, x, y, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
11838
Assert.Equal("y, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
11962
Assert.Equal("x, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12086
Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12147
Assert.Equal("this, x, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
, sort: true));
12219
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12352
Assert.Equal("x, z1, z2", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12422
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12464
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12506
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12549
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12584
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12619
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12654
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12689
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12724
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12759
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12794
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12829
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12864
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12899
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12934
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
12969
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13004
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13039
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13074
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13109
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13144
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13179
Assert.Null(GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13224
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13258
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13293
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13328
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13363
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13401
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13436
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13471
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13506
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13541
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13576
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13611
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13646
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13681
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13718
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13753
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13788
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13823
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13858
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13893
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13933
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
13971
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
14011
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
14051
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
14091
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AbstractAssignOutParametersCodeFixProvider.cs (1)
123
p => !dataFlow.
DefinitelyAssignedOnExit
.Contains(p));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (256)
FlowAnalysis\FlowTestBase.vb (1)
233
AssertEx.Equal(If(definitelyAssignedOnExit, {}), analysis.
DefinitelyAssignedOnExit
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\RegionAnalysisTests.vb (125)
89
Assert.Equal("args, s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
193
Assert.Equal("args, o3, col1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
214
Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
464
Assert.Equal("args, lambda, arg, arg1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
496
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
540
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
584
Assert.Equal("Me, i, j, k, l", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
734
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1102
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1164
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1300
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1324
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1347
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1372
Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1396
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1421
Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1448
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1478
Assert.Equal("Goo", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
1503
Assert.Equal("Me, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1534
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1566
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1652
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1678
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1703
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1728
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1754
Assert.Equal("b, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1779
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1805
Assert.Equal("b, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1830
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1856
Assert.Equal("b, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1879
Assert.Equal("Me, x, x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1904
Assert.Equal("Me, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1930
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1965
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2005
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2044
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2071
Assert.Equal("Me, i, j", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2095
Assert.Equal("Me, x, a, y, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2137
Assert.Equal("args, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2160
Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2181
Assert.Equal("Me, args, s, i, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2204
Assert.Equal("builder", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2231
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2268
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2297
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2321
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2341
Assert.Equal("Me, args, i, s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2365
Assert.Equal("Me", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2393
Assert.Equal("Me, f", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2416
Assert.Equal("Me, x, a, y, tmp", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2445
Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2483
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2504
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2525
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2562
Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2593
Assert.Equal("Me, x, a, b, c, d, e, f", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2625
Assert.Equal("Me, x, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2737
Assert.Equal("Me, x, ext, a, c", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2756
Assert.Equal("Me, x, ext, a, c", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
2785
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2820
Assert.Equal("y, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2852
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2877
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2904
Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2928
Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2951
Assert.Equal("x, y, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2973
Assert.Equal("x, z, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2995
Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3018
Assert.Equal("x, y, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3050
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3089
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3126
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3163
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3189
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3215
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3254
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3286
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3318
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3344
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3370
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3411
Assert.Equal("ary, local01, local02, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3444
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3480
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3519
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3554
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3594
Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3652
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnExit
))
3686
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnExit
))
3731
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
DefinitelyAssignedOnExit
))
3950
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3991
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4054
Assert.Equal("b, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4079
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4102
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4125
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4149
Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4173
Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4196
Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4224
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4254
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4284
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4312
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4340
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4368
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4394
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4420
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4448
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4476
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4504
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4532
Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4622
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
4656
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
5536
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnExit
))
5574
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnExit
))
6862
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6913
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6959
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7008
Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7053
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7310
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7346
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7384
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7422
Assert.Equal("args, k", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7456
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
7490
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (130)
145
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
257
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
284
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
309
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
348
Assert.Equal("args", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
630
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
720
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
747
Assert.Equal("b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
773
Assert.Equal("x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
799
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
826
Assert.Equal("b, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
852
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
879
Assert.Equal("b, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
905
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
932
Assert.Equal("b, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
956
Assert.Equal("Me, x, x, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1041
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1082
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1122
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1150
Assert.Equal("Me, i, j", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1175
Assert.Equal("Me, x, a, y, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1199
Assert.Equal("Me, t", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1221
Assert.Equal("args, x, y, z", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1245
Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1267
Assert.Equal("Me, args, s, i, b", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1291
Assert.Equal("builder", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1322
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1350
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1375
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1396
Assert.Equal("Me, args, i, s", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1420
Assert.Equal("Me, x, a, y, tmp", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
1608
Assert.Equal("Me, x, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1643
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1676
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1702
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1735
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1775
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1813
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1851
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1878
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1905
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1945
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
1978
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2011
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2038
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2065
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2107
Assert.Equal("ary, local01, local02, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2140
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2177
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2217
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2253
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2293
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2334
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2365
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2396
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2425
Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2452
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2542
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
DefinitelyAssignedOnExit
))
2577
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
2993
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnExit
))
3031
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
DefinitelyAssignedOnExit
))
3103
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3192
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3236
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3279
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3350
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3389
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3429
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3467
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3552
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3603
Assert.Equal("i, l, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3650
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3696
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3742
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3787
Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3823
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3860
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3904
Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3950
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
3991
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4071
Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4148
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4193
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4241
Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4285
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4329
Assert.Equal("args, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4357
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4381
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4404
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4428
Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4452
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4481
Assert.Equal("Me, x, a, y, l1", GetSymbolNamesJoined(analysis.
DefinitelyAssignedOnExit
))
4590
Assert.Equal("Me, x, x, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
DefinitelyAssignedOnExit
))
4644
Assert.Equal("local, lambda", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4694
Assert.Equal("args, igoo, at1, at2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4736
Assert.Equal("args, at1", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4773
Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4807
Assert.Equal("Me, args, var1", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4855
Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4901
Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
4965
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5136
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5202
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5244
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5283
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5322
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5365
Assert.Equal("Me, i, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5409
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5453
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5498
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5543
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5601
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5659
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5712
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5765
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5818
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5873
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5929
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
5971
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6015
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6059
Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6111
Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6164
Assert.Equal("obj1, obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6209
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6256
Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6308
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6355
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6388
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6440
Assert.Equal("obj1, obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))
6480
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowResults.
DefinitelyAssignedOnExit
))