2 overrides of WrittenOutside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
239
public override ImmutableArray<ISymbol>
WrittenOutside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
186
Public Overrides ReadOnly Property
WrittenOutside
As ImmutableArray(Of ISymbol)
753 references to WrittenOutside
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
207
if (dataFlow.ReadOutside.Contains(outLocalSymbol) || dataFlow.
WrittenOutside
.Contains(outLocalSymbol))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
315
if (analysis == null || analysis.ReadOutside.Contains(localSymbol) || analysis.
WrittenOutside
.Contains(localSymbol))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (321)
FlowAnalysis\IterationJumpYieldStatementTests.cs (26)
53
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
86
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
116
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
146
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
176
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
205
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
235
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
264
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
310
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
339
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
368
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
397
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
426
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
455
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
580
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
661
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
698
Assert.Equal("i, j", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
799
Assert.Equal("this, ary, a", GetSymbolNamesJoined(analysis.
WrittenOutside
));
831
Assert.Equal("this, ary, a, v", GetSymbolNamesJoined(analysis.
WrittenOutside
));
863
Assert.Equal("this, ary, a, v", GetSymbolNamesJoined(analysis.
WrittenOutside
));
894
Assert.Equal("i, i100", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
984
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1012
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1040
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1068
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1112
Assert.Equal("i1, i2, i3, i4, i5, f1, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
FlowAnalysis\PatternMatchingTest5.cs (1)
42
Assert.Equal("o, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
FlowAnalysis\PatternsVsRegions.cs (5)
42
Assert.Equal("args, o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
68
Assert.Equal("args, o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
94
Assert.Equal("args, o, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
120
Assert.Equal("args, o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
145
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
FlowAnalysis\RegionAnalysisTests.cs (249)
66
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
102
Assert.Equal("args, s, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
142
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
240
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
306
Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
440
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
469
Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
873
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
892
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
912
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
932
Assert.Equal("args, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
961
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
989
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1017
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1048
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1254
Assert.Equal("y, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1284
Assert.Equal("z, y, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1314
Assert.Equal("z, y, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1375
Assert.Equal(GetSymbolNamesJoined(results1.
WrittenOutside
),
1376
string.Join(", ", new string[] { "f" }.Concat((results2.
WrittenOutside
).Select(symbol => symbol.Name)).OrderBy(name => name)));
1424
Assert.Equal(GetSymbolNamesJoined(results1.
WrittenOutside
),
1425
GetSymbolNamesJoined(results2.
WrittenOutside
));
1605
Assert.Equal("px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1639
Assert.Equal("x, px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1679
Assert.Equal("px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1720
Assert.Equal("s, px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1761
Assert.Equal("s, px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1800
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1837
Assert.Equal("i, p, d", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1871
Assert.Equal("i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1906
Assert.Equal("x, y, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1941
Assert.Equal("i, x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1976
Assert.Equal("x, y, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2015
Assert.Equal("x, z, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2055
Assert.Equal("x, z, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2089
Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2127
Assert.Equal("b0, b1", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2163
Assert.Equal("list", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2200
Assert.Equal("x, list", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2260
Assert.Equal("x, list", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2289
Assert.Null(GetSymbolNamesJoined(dataFlows.
WrittenOutside
));
2318
Assert.Null(GetSymbolNamesJoined(dataFlows.
WrittenOutside
));
2351
Assert.Null(GetSymbolNamesJoined(dataFlows.
WrittenOutside
));
2501
Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
2551
Assert.Equal($"c, {otherX}, {otherY}", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
));
2581
Assert.Equal("this, a, b", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
));
2617
Assert.Equal("c, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
));
2651
Assert.Equal("c, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
));
2777
Assert.Equal("this, r, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
2886
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
2918
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3018
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3047
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3081
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3361
Assert.Equal("args, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
3708
Assert.Equal("this, x, a, b, c, g, h, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
3832
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3864
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3896
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3928
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
3993
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4026
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4126
Assert.Equal("this, t", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4151
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4171
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4213
Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4307
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4338
Assert.Equal("this, p, v", GetSymbolNamesJoined(analysis.
WrittenOutside
));
4474
Assert.Equal("this, p1, p2, local_0, non_nullable", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4543
Assert.Equal("args, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
4667
GetSymbolNamesJoined(dataFlow.
WrittenOutside
));
4710
Assert.Equal("this", GetSymbolNamesJoined(dataFlow.
WrittenOutside
));
5090
Assert.Equal("args, i, lambda", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5199
Assert.Equal("this, a, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5317
Assert.Equal("p", GetSymbolNamesJoined(results1.
WrittenOutside
));
5350
Assert.Equal("f, p, x, y", GetSymbolNamesJoined(results1.
WrittenOutside
));
5380
Assert.Equal("this, ary", GetSymbolNamesJoined(dataFlows.
WrittenOutside
));
5419
Assert.Equal("this, i", GetSymbolNamesJoined(dataFlows.
WrittenOutside
));
5452
Assert.Equal("nums, num, f, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5667
Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5697
Assert.Equal("nums, q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5725
Assert.Equal("nums, q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5752
Assert.Equal("nums, q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5779
Assert.Equal("nums, q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5814
Assert.Equal("nums, num, q, n", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5847
Assert.Equal("nums, num, q, n", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5881
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
5913
Assert.Equal("args, q1, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6026
Assert.Equal("i, f1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6063
Assert.Equal("i100", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6100
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6139
Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6178
Assert.Equal("this, node", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6226
Assert.Equal("MyClass this", flowAnalysis.
WrittenOutside
.Single().ToTestDisplayString());
6235
Assert.Equal("this, f", GetSymbolNamesJoined(flowAnalysis.
WrittenOutside
));
6262
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
6330
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
6359
Assert.Equal("args, f3", GetSymbolNamesJoined(analysis.
WrittenOutside
));
6575
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6606
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6636
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6666
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6701
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6739
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenOutside
));
6767
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
6801
Assert.Equal("x", GetSymbolNamesJoined(results.
WrittenOutside
));
6919
Assert.Equal("this, y", GetSymbolNamesJoined(results.
WrittenOutside
));
6950
Assert.Equal("this", GetSymbolNamesJoined(results.
WrittenOutside
));
6986
Assert.Equal("this, x", GetSymbolNamesJoined(results.
WrittenOutside
));
7020
Assert.Equal("this, x", GetSymbolNamesJoined(results.
WrittenOutside
));
7052
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
7084
Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
7114
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7148
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7184
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7216
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7253
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7284
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7315
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7355
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7398
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7473
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7503
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7533
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7566
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7596
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7626
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7656
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7686
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7716
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7746
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7776
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7806
Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7835
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7864
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7889
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7925
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
7975
Assert.Equal("this, test, a", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
8032
Assert.Equal("p, i, k", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
8076
Assert.Equal("px", GetSymbolNamesJoined(analysis.
WrittenOutside
));
8162
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8193
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8225
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8261
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8295
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8330
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8370
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8411
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8446
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8481
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8516
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8548
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenOutside
));
8580
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8616
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenOutside
));
8652
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8684
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenOutside
));
8716
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8752
Assert.Equal("a", GetSymbolNamesJoined(results.
WrittenOutside
));
8788
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8819
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8854
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8885
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8920
Assert.Null(GetSymbolNamesJoined(results.
WrittenOutside
));
8956
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
8982
Assert.Equal("i, lambda, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
9007
Assert.Equal("lambda, args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
9060
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
9109
Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
9298
Assert.Equal("value", GetSymbolNamesJoined(results.
WrittenOutside
));
9333
Assert.Equal("value", GetSymbolNamesJoined(analysis.
WrittenOutside
));
9368
Assert.Equal("value, result", GetSymbolNamesJoined(analysis.
WrittenOutside
));
9659
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
9714
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
9768
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
9926
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10099
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10139
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
10178
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10218
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10298
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
10378
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
10493
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
10546
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10599
Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10775
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
10959
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11039
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
11125
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
11178
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11231
Assert.Equal("this", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11358
Assert.Equal("this, x, y, z", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11425
Assert.Equal("y, z", GetSymbolNamesJoined(analysis.
WrittenOutside
));
11492
Assert.Equal("x, z", GetSymbolNamesJoined(analysis.
WrittenOutside
));
11559
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenOutside
));
11600
Assert.Equal("this, x, z", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11763
Assert.Equal("this, x, y, z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
11844
Assert.Equal("y, z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
));
11968
Assert.Equal("x, z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12092
Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12153
Assert.Equal("this, x, z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
, sort: true));
12225
Assert.Equal("z", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12358
Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12436
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12470
Assert.Equal("x, d", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12520
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12555
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12590
Assert.Equal("x, i", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12625
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12660
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12695
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12730
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12765
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12800
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12835
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12870
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12905
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12940
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
12975
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13010
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13045
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13080
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13115
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13150
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13185
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
13230
Assert.Equal("x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13264
Assert.Null(GetSymbolNamesJoined(analysis.
WrittenOutside
));
13299
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13334
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13369
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13407
Assert.Equal("x, d, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13442
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13477
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13512
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13547
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13582
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13617
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13652
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13687
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13724
Assert.Equal("x, d, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13759
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13794
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13829
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13864
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13899
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13939
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
13977
Assert.Equal("x, d, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
14017
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
14057
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
14097
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
59
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
96
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
153
Assert.Equal("this, para, by", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
210
Assert.Equal("this, para, by", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
269
Assert.Equal("this, para, by", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
307
Assert.Equal("this, para", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
352
Assert.Equal("this, para", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
413
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
458
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
497
Assert.Equal("this, para", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
541
Assert.Equal("this, para, local, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
584
Assert.Equal("this, p, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
624
Assert.Equal("this, p, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
672
Assert.Equal("this, p, x, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
716
Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
826
Assert.Equal("this, x, y, s, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
872
Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
910
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
954
Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1003
Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1060
Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.
WrittenOutside
), GetSymbolNamesJoined(dataFlowResults01.
WrittenOutside
));
1103
Assert.Equal("this, refp", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1146
Assert.Equal("refp, outp, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1193
Assert.Equal("p, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1240
Assert.Equal("this, p, local, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
));
1444
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1471
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1506
Assert.Equal("this, x", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1541
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1569
Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1599
Assert.Equal("this", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1630
Assert.Equal("name, obj", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1660
Assert.Equal("str", GetSymbolNamesJoined(analysis.
WrittenOutside
));
1694
Assert.Equal("str", GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
));
1733
Assert.Null(GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
));
Semantics\OutVarTests.cs (3)
1132
dataFlow.
WrittenOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
17755
Assert.Equal("System.Int32 x1", dataFlow.
WrittenOutside
.Single().ToTestDisplayString());
32758
Assert.False(dataFlow.
WrittenOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
342
Assert.False(dataFlow.
WrittenOutside
.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
207
if (dataFlow.ReadOutside.Contains(outLocalSymbol) || dataFlow.
WrittenOutside
.Contains(outLocalSymbol))
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
315
if (analysis == null || analysis.ReadOutside.Contains(localSymbol) || analysis.
WrittenOutside
.Contains(localSymbol))
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
473
var writtenOutsideMap = new HashSet<ISymbol>(dataFlowAnalysisData.
WrittenOutside
);
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\VisualBasicSelectionValidator.vb (1)
213
If result.
WrittenOutside
().Any(Function(s) Equals(s, local)) OrElse
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (426)
FlowAnalysis\FlowTestBase.vb (1)
238
AssertEx.Equal(If(writtenOutside, {}), analysis.
WrittenOutside
.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (26)
101
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
137
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
167
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
198
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
229
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
261
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
293
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
344
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
375
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
406
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
439
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
585
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
624
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
666
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
695
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
803
Assert.Equal(1, dataFlowAnalysisResults.
WrittenOutside
.Count)
804
Assert.Equal("unassignedRef1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
841
Assert.Empty(dataFlowAnalysisResults.
WrittenOutside
)
876
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
907
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
994
Assert.Empty(dataFlowAnalysisResults.
WrittenOutside
)
1416
Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1454
Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1610
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1640
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1671
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
FlowAnalysis\RegionAnalysisTests.vb (138)
188
Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.
WrittenOutside
))
469
Assert.Equal("args, lambda, arg, arg1, arg2", GetSymbolNamesJoined(analysis.
WrittenOutside
))
501
Assert.Equal("args, arg2, y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
739
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenOutside
))
1106
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1168
Assert.Equal("args, s, t", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1453
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1969
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2009
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2048
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2075
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2235
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2272
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2362
Assert.Equal("Me", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2390
Assert.Equal("Me, f", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2591
Assert.Equal("Me, x, a, b, c, g, h, i", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2629
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2789
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2824
Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2856
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2881
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2908
Assert.Equal("ext, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3054
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3093
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3130
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3167
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3193
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3219
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3258
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3290
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3322
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3348
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3374
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3415
Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3448
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3484
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3523
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3558
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3598
Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3656
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
WrittenOutside
))
3690
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
WrittenOutside
))
3735
Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.
WrittenOutside
))
3812
Assert.True(dataResults1.
WrittenOutside
.Any(Function(ByVal s) s.Name = "f"))
3813
Assert.False(dataResults2.
WrittenOutside
.Any(Function(ByVal s) s.Name = "f"))
3814
Assert.Equal(GetSymbolNamesJoined(dataResults1.
WrittenOutside
.Where(Function(ByVal s) s.Name <> "f")), GetSymbolNamesJoined(dataResults2.
WrittenOutside
))
3913
Assert.Equal(GetSymbolNamesJoined(dataResults1.
WrittenOutside
.Where(Function(x) x.Name <> "f")),
3914
GetSymbolNamesJoined(dataResults2.
WrittenOutside
))
3954
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3995
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4058
Assert.Equal("b, ext, zz", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4228
Assert.Equal("Me, x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4258
Assert.Equal("Me, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4559
Assert.Equal("args, a, x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
4588
Assert.Equal("args, a", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
4626
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
4660
Assert.Equal("Me, args, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
5541
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
WrittenOutside
))
5579
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
WrittenOutside
))
5666
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
5755
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
5799
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
5842
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6049
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6088
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6128
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6166
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6251
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6302
Assert.Equal("Me, i, l, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6349
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6395
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6441
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6486
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6521
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6555
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6598
Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6643
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6683
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6751
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6790
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
6866
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6917
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6963
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7012
Assert.Equal("p, local, f", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7057
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7314
Assert.Equal("args, i, j", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7350
Assert.Equal("args, x, i, j", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7388
Assert.Equal("args, i, j", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7426
Assert.Equal("args, i, k, j", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7460
Assert.Equal("args, i, j", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7494
Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7528
Assert.Equal("X, Value", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7563
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7598
Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7632
Assert.Equal("Me, x, a, y, c", GetSymbolNamesJoined(analysis.
WrittenOutside
))
7663
Assert.Equal("Me, x, a, y, outside", GetSymbolNamesJoined(analysis.
WrittenOutside
))
7769
Assert.Equal("Me, x, x, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
7822
Assert.Equal("local", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7871
Assert.Equal("args, igoo, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7912
Assert.Equal("args, at1, p, at2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7948
Assert.Equal("Me, args, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
7981
Assert.Equal("Me, args, var1, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8028
Assert.Equal("Me, func, x, at", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8073
Assert.Equal("Me, func, x, at", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8136
Assert.Equal("Me, an", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8346
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8383
Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8424
Assert.Equal("Me, i, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8488
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8529
Assert.Equal("Me, i, x, a, b", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8567
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8605
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8647
Assert.Equal("Me, i, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8690
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8733
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8777
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8821
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8878
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8935
Assert.Equal("Me, x, s, xyz", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
8987
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9039
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9091
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9143
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9195
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9249
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9304
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9346
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9389
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9432
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9483
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9535
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9579
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9625
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9676
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9722
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9754
Assert.Equal("obj1, obj2, obj3", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9805
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
9844
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (103)
150
Assert.Equal("args, arg2, y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
262
Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.
WrittenOutside
))
288
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
352
Assert.Equal("args, s, t", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1045
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1086
Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1126
Assert.Equal("args, o", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1154
Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1326
Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1575
Assert.Equal("Me, x, a, b, c, g, h, i", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1612
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1647
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1680
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1706
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1739
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1779
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1817
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1855
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1882
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1909
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1949
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1982
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2015
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2042
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2069
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2111
Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2144
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2181
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2221
Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2257
Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2297
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2338
Assert.Equal("Me, t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2369
Assert.Equal("Me, x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2400
Assert.Equal("Me, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2479
Assert.Equal("args, a, x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
2508
Assert.Equal("args, a", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
2546
Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
2581
Assert.Equal("Me, args, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2998
Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.
WrittenOutside
))
3035
Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.
WrittenOutside
))
3107
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3196
Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3240
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3283
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3354
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3393
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3433
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3471
Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3556
Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3607
Assert.Equal("Me, i, l, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3654
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3700
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3746
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3791
Assert.Equal("Me, i, a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3827
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3864
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3908
Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3954
Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3995
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4076
Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4152
Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4197
Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4245
Assert.Equal("p, local, f", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4289
Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4485
Assert.Equal("Me, x, a, y, c", GetSymbolNamesJoined(analysis.
WrittenOutside
))
4594
Assert.Equal("Me, x, x, i", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4648
Assert.Equal("local", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4698
Assert.Equal("args, igoo, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4740
Assert.Equal("args, at1, p, at2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4777
Assert.Equal("Me, args, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4811
Assert.Equal("Me, args, var1, at1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4859
Assert.Equal("Me, func, x, at", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4905
Assert.Equal("Me, func, x, at", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
4969
Assert.Equal("Me, an", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5140
Assert.Equal("Me, i, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5206
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5248
Assert.Equal("Me, i, x, a, b", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5287
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5326
Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5369
Assert.Equal("Me, i, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5413
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5457
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5502
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5547
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5605
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5663
Assert.Equal("Me, x, s, xyz", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5716
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5769
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5822
Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5877
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5933
Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
5975
Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6019
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6063
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6115
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6168
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6213
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6260
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6312
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6359
Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6392
Assert.Equal("obj1, obj2, obj3", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6444
Assert.Equal("obj1, obj2, obj3, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
6484
Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
FlowAnalysis\TryLockUsingStatementTests.vb (59)
67
Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
154
Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
204
Assert.Equal("p, x, s, e1", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
251
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
308
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
367
Assert.Equal("x, ex, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
424
Assert.Equal("Me, x, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
480
Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
536
Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
586
Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
629
Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
671
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
714
Assert.Equal("F, Me, ss", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
764
Assert.Equal("Me, p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
810
Assert.Equal("Me, p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
858
Assert.Equal("Me, p, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
903
Assert.Equal("Me, p, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
983
Assert.Equal("Me, p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1042
Assert.Equal("p, x, y, s, ax, ex, s, s", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1082
Assert.Equal("F, Me, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1136
Assert.Equal("Me, x, local", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1179
Assert.Equal("s, pex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1235
Assert.Equal("Me, s, pex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1290
Assert.Equal("TryFunc, Me, s, pex, lex", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1331
Assert.Equal("TryFunc, Me, x", GetSymbolNamesJoined(dataFlowAnalysis.
WrittenOutside
))
1382
Assert.Equal("M, refp", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1433
Assert.Equal("M, Me, refp, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1481
Assert.Equal("Me, p, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1530
Assert.Equal("p, local, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1578
Assert.Equal("p, local", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1613
Assert.Equal("Me, p, e", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1756
Assert.Equal(2, dataFlowAnalysisResults.
WrittenOutside
.Count)
1757
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
1758
Assert.Equal("lock", dataFlowAnalysisResults.
WrittenOutside
(1).ToDisplayString)
1805
Assert.Equal(2, dataFlowAnalysisResults.
WrittenOutside
.Count)
1806
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
1807
Assert.Equal("lock", dataFlowAnalysisResults.
WrittenOutside
(1).ToDisplayString)
1856
Assert.Equal(2, dataFlowAnalysisResults.
WrittenOutside
.Count)
1857
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
1858
Assert.Equal("lock", dataFlowAnalysisResults.
WrittenOutside
(1).ToDisplayString)
1898
Assert.Equal("y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
1934
Assert.Empty(analysis.
WrittenOutside
)
1973
Assert.Empty(analysis.
WrittenOutside
)
2005
Assert.Empty(analysis.
WrittenOutside
)
2041
Assert.Equal("x, y", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2080
Assert.Equal("objs", GetSymbolNamesJoined(analysis.
WrittenOutside
))
2116
Assert.Equal(Nothing, GetSymbolNamesJoined(dataflowAnalysis.
WrittenOutside
))
2160
Assert.Equal("args, Obj1, ex", GetSymbolNamesJoined(dataflowAnalysis.
WrittenOutside
))
2229
Assert.Equal(1, dataFlowAnalysisResults.
WrittenOutside
.Count)
2230
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
2287
Assert.Equal(1, dataFlowAnalysisResults.
WrittenOutside
.Count)
2288
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
2340
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
2341
Assert.Equal("goo1", dataFlowAnalysisResults.
WrittenOutside
(1).ToDisplayString)
2347
Assert.Equal(2, dataFlowAnalysisResults.
WrittenOutside
.Count)
2348
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
2349
Assert.Equal("goo1", dataFlowAnalysisResults.
WrittenOutside
(1).ToDisplayString)
2409
Assert.Equal(1, dataFlowAnalysisResults.
WrittenOutside
.Count)
2410
Assert.Equal("x", dataFlowAnalysisResults.
WrittenOutside
(0).ToDisplayString)
Semantics\ForeachTest.vb (1)
1332
Assert.Equal(WrittenOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenOutside
))
Semantics\ForLoopTest.vb (1)
598
Assert.Equal(WrittenOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenOutside
))
Semantics\GotoTests.vb (3)
59
Assert.Equal("Me, lists, item", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
103
Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
146
Assert.Equal("flag1", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
Semantics\IFOperatorTest.vb (1)
1192
Assert.Equal(WrittenOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenOutside
))
Semantics\IteratorTests.vb (1)
199
Assert.Equal("Me, o", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
Semantics\MeMyBaseMyClassTests.vb (7)
55
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
95
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
129
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
163
Assert.Equal("Me, TEMP", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
201
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
237
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
273
Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
Semantics\MultiDimensionalTest.vb (2)
342
Assert.Equal(WrittenOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenOutside
))
361
Assert.Equal(WrittenOutsideSymbol, GetSymbolNamesSortedAndJoined(analyze.
WrittenOutside
))
Semantics\QueryExpressions_FlowAnalysis.vb (74)
120
Assert.Equal("Me, args, q, y, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
167
Assert.Equal("Me, args, q, y, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
214
Assert.Equal("Me, args, q, y, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
265
Assert.Equal("Me, args, q, y, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
316
Assert.Equal("Me, args, q, y, q1, s1, z", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
364
Assert.Equal("Me, args, q, q1, s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
365
Dim ss = dataFlowAnalysisResults.
WrittenOutside
.Where(Function(s) s.Name.Equals("s1", StringComparison.OrdinalIgnoreCase))
410
Assert.Equal("Me, args, q, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
452
Assert.Equal("Me, args, q, q1, s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
493
Assert.Equal("Me, args, q, q1, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
534
Assert.Equal("Me, args, q, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
575
Assert.Equal("Me, args, q, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
616
Assert.Equal("Me, args, q, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
657
Assert.Equal("Me, args, q, q1, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
698
Assert.Equal("Me, args, q, q1, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
762
Assert.Equal("q, q1, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
826
Assert.Equal("q, q1, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
890
Assert.Equal("q, q1, s", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1025
Assert.Equal("q, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1226
Assert.Equal("q, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1281
Assert.Equal("q, q1, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1336
Assert.Equal("q, q1, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1391
Assert.Equal("q, q1, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1446
Assert.Equal("q, q1, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1501
Assert.Equal("q, q1, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1556
Assert.Equal("q, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1612
Assert.Equal("q, q1, z, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1656
Assert.Equal("Me, args, q, y, q1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1706
Assert.Equal("q, q1, s1, MaxValue, s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1762
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1818
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1874
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1926
Assert.Equal("qi, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
1978
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2030
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2082
Assert.Equal("q, q1, s1, s2, s3, s4, s5", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2134
Assert.Equal("q, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2184
Assert.Equal("q, q1, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2243
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2302
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2361
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2419
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4, s5", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2477
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2535
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2600
Assert.Equal("qi, q1, s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2665
Assert.Equal("qi, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2730
Assert.Equal("qi, q1, s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2794
Assert.Equal("qi, q1, s1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2865
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
2936
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3007
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3078
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3149
Assert.Equal("qi, qb, qs, qu, ql, q1, s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3220
Assert.Equal("qi, qb, qs, qu, ql, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3275
Assert.Equal("qi, q1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3330
Assert.Equal("qi, q1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3385
Assert.Equal("qi, q1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3440
Assert.Equal("qi, q1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3495
Assert.Equal("qi, q1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3550
Assert.Equal("qi, q1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3605
Assert.Equal("qi, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3660
Assert.Equal("qi, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3717
Assert.Equal("qi, qb, q1, t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3774
Assert.Equal("qi, qb, q1, t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3831
Assert.Equal("qi, qb, q1, t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3888
Assert.Equal("qi, qb, q1, t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
3945
Assert.Equal("qi, qb, q1, t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4002
Assert.Equal("qi, qb, q1, t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4059
Assert.Equal("qi, qb, q1, t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4116
Assert.Equal("qi, qb, q1, t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4173
Assert.Equal("qi, qb, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4230
Assert.Equal("qi, qb, q1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4266
Assert.Equal("arr, q2, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
4299
Assert.Equal("arr, q2, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.
WrittenOutside
))
Semantics\SyncLockTests.vb (6)
48
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
82
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
115
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
150
Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
183
Assert.Equal("Me, syncroot", GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
211
Assert.Equal("Me, syncroot", GetSymbolNamesJoined(analysisDataflow.
WrittenOutside
))
Semantics\WithBlockSemanticModelTests.vb (3)
148
Assert.Equal("x, f", GetSymbolNamesJoined(dataFlowResults.
WrittenOutside
))
180
Assert.Empty(dataFlowResults.
WrittenOutside
) ' assume anonymous locals don't show
212
Assert.Empty(dataFlowResults.
WrittenOutside
)