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