2 overrides of WrittenInside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
207public override ImmutableArray<ISymbol> WrittenInside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
162Public Overrides ReadOnly Property WrittenInside As ImmutableArray(Of ISymbol)
827 references to WrittenInside
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
154dataFlow.WrittenInside.Contains(localOrParameter)) 164exprDataFlow.WrittenInside.Contains(localOrParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (346)
FlowAnalysis\IterationJumpYieldStatementTests.cs (29)
52Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 85Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 115Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 145Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 175Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 204Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 234Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 263Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 309Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 338Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 367Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 396Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 425Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 454Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 579Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 636Assert.Equal("i, j", GetSymbolNamesJoined(analysis.WrittenInside)); 660Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 697Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 744Assert.Equal("c", GetSymbolNamesJoined(analysis.WrittenInside)); 764Assert.Equal("v", GetSymbolNamesJoined(analysis.WrittenInside)); 797Assert.Equal("v, x", GetSymbolNamesJoined(analysis.WrittenInside)); 829Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 861Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 893Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 983Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1011Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1039Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1067Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1111Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside));
FlowAnalysis\PatternMatchingTest5.cs (1)
40Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside));
FlowAnalysis\PatternsVsRegions.cs (5)
40Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 66Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 92Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 118Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 143Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside));
FlowAnalysis\RegionAnalysisTests.cs (272)
65Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 101Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 141Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 239Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 305Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 387Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 409Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 439Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 468Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 834Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 854Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 871Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 890Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 910Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 930Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 960Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 988Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1016Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1047Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1253Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1283Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1313Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1373Assert.Equal(GetSymbolNamesJoined(results1.WrittenInside), 1374GetSymbolNamesJoined(results2.WrittenInside)); 1422Assert.Equal(GetSymbolNamesJoined(results1.WrittenInside), 1423GetSymbolNamesJoined(results2.WrittenInside)); 1569Assert.Equal("a", GetSymbolNamesJoined(analysis.WrittenInside)); 1604Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 1638Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 1678Assert.Equal("s", GetSymbolNamesJoined(analysis.WrittenInside)); 1719Assert.Equal("s", GetSymbolNamesJoined(analysis.WrittenInside)); 1760Assert.Equal("s", GetSymbolNamesJoined(analysis.WrittenInside)); 1799Assert.Equal("s", GetSymbolNamesJoined(analysis.WrittenInside)); 1836Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1870Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1905Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1940Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1975Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2014Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2054Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2088Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2126Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2162Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2199Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2259Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 2287Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.WrittenInside)); 2316Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.WrittenInside)); 2349Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.WrittenInside)); 2404Assert.Null(GetSymbolNamesJoined(dataFlows.WrittenInside)); 2438Assert.Equal("x", GetSymbolNamesJoined(dataFlows.WrittenInside)); 2472Assert.Equal("x", GetSymbolNamesJoined(dataFlows.WrittenInside)); 2500Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 2550Assert.Equal($"{currentX}, {currentY}", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)); 2580Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)); 2616Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)); 2650Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)); 2731Assert.Equal("x, b", GetSymbolNamesJoined(analysis.WrittenInside)); 2775Assert.Equal("ix, x, i, y, y2, rrr", GetSymbolNamesJoined(analysis.WrittenInside)); 2794Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 2850Assert.Equal("x, b", GetSymbolNamesJoined(analysis.WrittenInside)); 2885Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 2917Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3017Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3046Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3080Assert.Equal("i, j, s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3360Assert.Equal("j", GetSymbolNamesJoined(analysis.WrittenInside)); 3706Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.WrittenInside)); 3831Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3863Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3895Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3927Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 3992Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4025Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4125Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4150Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4212Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4306Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4336Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 4473Assert.Equal("p1, p2, local_1, non_nullable, ret", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4542Assert.Equal("p, t", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 4662Assert.Equal("x1", GetSymbolNamesJoined(dataFlow.WrittenInside)); 4708Assert.Null(GetSymbolNamesJoined(dataFlow.WrittenInside)); 5089Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5198Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5253Assert.Equal("f, arg, s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5281Assert.Equal("testDel, x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5316Assert.Equal("testDel, x, y", GetSymbolNamesJoined(results1.WrittenInside)); 5349Assert.Equal("x", GetSymbolNamesJoined(results1.WrittenInside)); 5378Assert.Equal("x", GetSymbolNamesJoined(dataFlows.WrittenInside)); 5417Assert.Equal("i, d", GetSymbolNamesJoined(dataFlows.WrittenInside)); 5451Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5495Assert.Equal(5, flowAnalysis.WrittenInside.Count()); 5500Assert.Equal(2, flowAnalysis.WrittenInside.Count()); 5505Assert.Equal(2, flowAnalysis.WrittenInside.Count()); 5541Assert.Null(GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 5585Assert.Equal("x, y", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 5628Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 5666Assert.Equal("q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5696Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5724Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5751Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5778Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5813Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5846Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5880Assert.Equal("temp, x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 5912Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 6025Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 6062Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6099Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6138Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6177Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6225Assert.Empty(flowAnalysis.WrittenInside); 6234Assert.Empty(flowAnalysis.WrittenInside); 6261Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 6329Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 6358Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 6573Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 6604Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 6634Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 6664Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 6699Assert.Equal("x", GetSymbolNamesJoined(results.WrittenInside)); 6737Assert.Equal("x", GetSymbolNamesJoined(results.WrittenInside)); 6765Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 6799Assert.Equal("x", GetSymbolNamesJoined(results.WrittenInside)); 6918Assert.Equal("x", GetSymbolNamesJoined(results.WrittenInside)); 6948Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 6984Assert.Equal("x, y", GetSymbolNamesJoined(results.WrittenInside)); 7018Assert.Equal("x, y", GetSymbolNamesJoined(results.WrittenInside)); 7050Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 7082Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 7113Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7147Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7183Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7215Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7252Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7283Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7314Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7354Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7397Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7472Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7502Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7532Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7565Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7595Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7625Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7655Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7685Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7715Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7745Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7775Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7805Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7834Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7863Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7888Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7924Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 7974Assert.Equal("test", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 8031Assert.Equal("j", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 8075Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 8160Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8191Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8223Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8259Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8293Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8328Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8368Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8409Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8444Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8479Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8514Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8546Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8578Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8614Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8650Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8682Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8714Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8750Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 8786Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8817Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8852Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8883Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8918Assert.Equal("a", GetSymbolNamesJoined(results.WrittenInside)); 8955Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 8981Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 9006Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 9059Assert.Equal("i1, i2, c", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 9108Assert.Equal("i1, i2, c", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 9296Assert.Null(GetSymbolNamesJoined(results.WrittenInside)); 9332Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 9367Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 9658Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 9713Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 9767Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 9925Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10098Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10138Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10177Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10217Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10297Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10377Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10492Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10545Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10598Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 10774Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 10958Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 11038Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 11124Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 11177Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 11230Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 11357Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11424Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11491Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11558Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11599Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11762Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11843Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 11967Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12091Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12152Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12224Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12357Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12435Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12469Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12519Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12554Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12589Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12624Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12659Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12694Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12729Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12764Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12799Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12834Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12869Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 12904Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12939Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 12974Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13009Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13044Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13079Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13114Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13149Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13184Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13229Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13263Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)); 13298Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13333Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13368Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13406Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13441Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13476Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13511Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13546Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13581Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13616Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13651Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13686Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13723Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13758Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13793Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13828Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13863Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13898Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13938Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 13976Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 14016Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 14056Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 14096Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 14125Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 14148Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 14256Assert.Equal("x", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 14265Assert.Equal("x", GetSymbolNamesJoined(flowAnalysis.WrittenInside)); 14271Assert.Equal("x", GetSymbolNamesJoined(flowAnalysis.WrittenInside));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
58Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 95Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 152Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 209Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 268Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 306Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 351Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 412Assert.Equal("sb", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 457Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 496Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 540Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 583Assert.Equal("x, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 623Assert.Equal("x, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 671Assert.Equal("p, y, z, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 715Assert.Equal("s, ax, s, s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 825Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 871Assert.Equal("x, s, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 909Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 953Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1002Assert.Equal("y, i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1059Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.WrittenInside), GetSymbolNamesJoined(dataFlowResults01.WrittenInside)); 1101Assert.Equal("refp, outp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1144Assert.Equal("outp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1191Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1238Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)); 1443Assert.Equal("c", GetSymbolNamesJoined(analysis.WrittenInside)); 1470Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1505Assert.Equal("c", GetSymbolNamesJoined(analysis.WrittenInside)); 1540Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1568Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1598Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1629Assert.Null(GetSymbolNamesJoined(analysis.WrittenInside)); 1659Assert.Equal("obj", GetSymbolNamesJoined(analysis.WrittenInside)); 1693Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.WrittenInside)); 1732Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.WrittenInside));
Semantics\OutVarTests.cs (2)
1118Assert.True(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 32801Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
337Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (1)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
92refKind: dataFlow.WrittenInside.Contains(capture) ? RefKind.Ref : RefKind.None,
Microsoft.CodeAnalysis.Features (6)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
410return dataFlow.WrittenInside.Contains(foreachVariable);
ExtractMethod\MethodExtractor.Analyzer.cs (3)
118var isThisParameterWritten = dataFlowAnalysisData.WrittenInside.Any(static s => IsThisParameter(s)); 123.Concat(dataFlowAnalysisData.WrittenInside) 528using var _6 = GetPooledSymbolSet(dataFlowAnalysisData.WrittenInside, out var writtenInsideMap);
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
154dataFlow.WrittenInside.Contains(localOrParameter)) 164exprDataFlow.WrittenInside.Contains(localOrParameter);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (472)
FlowAnalysis\FlowTestBase.vb (1)
237AssertEx.Equal(If(writtenInside, {}), analysis.WrittenInside.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (27)
100Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 136Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 166Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 197Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 228Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 260Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 292Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 343Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 374Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 405Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 438Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 584Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 623Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 665Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 694Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 802Assert.Empty(dataFlowAnalysisResults.WrittenInside) 839Assert.Equal(2, dataFlowAnalysisResults.WrittenInside.Count) 840Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 874Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 875Assert.Empty(dataFlowAnalysisResults.WrittenInside) 906Assert.Empty(dataFlowAnalysisResults.WrittenInside) 993Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1414Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1452Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1609Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1639Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1670Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside))
FlowAnalysis\RegionAnalysisTests.vb (175)
91Assert.Equal("s", GetSymbolNamesJoined(analysis.WrittenInside)) 189Assert.Equal("col1", GetSymbolNamesJoined(analysis.WrittenInside)) 468Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 500Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 738Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 1104Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 1167Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 1297Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1344Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1369Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1393Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1418Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1452Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1475Assert.Equal("Goo", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1654Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 1680Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 1705Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)) 1730Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1756Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1781Assert.Equal("z", GetSymbolNamesJoined(analysis.WrittenInside)) 1807Assert.Equal("z", GetSymbolNamesJoined(analysis.WrittenInside)) 1832Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1858Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1968Assert.Equal("o", GetSymbolNamesJoined(analysis.WrittenInside)) 2008Assert.Equal("o", GetSymbolNamesJoined(analysis.WrittenInside)) 2047Assert.Equal("oo", GetSymbolNamesJoined(analysis.WrittenInside)) 2074Assert.Equal("j", GetSymbolNamesJoined(analysis.WrittenInside)) 2234Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2271Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2481Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 2502Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 2589Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.WrittenInside)) 2628Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2788Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2823Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2855Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2880Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2907Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2930Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2953Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2975Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2997Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3020Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3053Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3092Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3129Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3166Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3192Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3218Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 'C# this is an assignment. In VB, this is a comparison so no assignment. 3257Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3288Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3320Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3346Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3372Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3413Assert.Equal("local01, local02, flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3446Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3483Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3522Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3557Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3597Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3655Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.WrittenInside)) 3689Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.WrittenInside)) 3734Assert.Equal(Nothing, GetSymbolNamesJoined(dataResults1.WrittenInside)) 3810Assert.Equal(GetSymbolNamesJoined(dataResults1.WrittenInside), 3811GetSymbolNamesJoined(dataResults2.WrittenInside)) 3911Assert.Equal(GetSymbolNamesJoined(dataResults1.WrittenInside), 3912GetSymbolNamesJoined(dataResults2.WrittenInside)) 3953Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3994Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4056Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4081Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4104Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4127Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4151Assert.Equal("x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4175Assert.Equal("xx", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4198Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4227Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4257Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4286Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4314Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4342Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4370Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4396Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4422Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4450Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4478Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4506Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4534Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4557Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 4586Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 4624Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 4659Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5539Assert.Equal("p", GetSymbolNamesJoined(analysisResult.WrittenInside)) 5577Assert.Equal("local", GetSymbolNamesJoined(analysisResult.WrittenInside)) 5665Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5754Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5798Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5841Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5927Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 5984Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6048Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6087Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6127Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6165Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6250Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6301Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6348Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6394Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6440Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6485Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6520Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6554Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6597Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6642Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6682Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6750Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6789Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 6864Assert.Empty(dataFlowResults.WrittenInside) 6915Assert.Empty(dataFlowResults.WrittenInside) 6961Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7010Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7055Assert.Empty(dataFlowResults.WrittenInside) 7312Assert.Empty(dataFlowResults.WrittenInside) 7348Assert.Empty(dataFlowResults.WrittenInside) 7386Assert.Empty(dataFlowResults.WrittenInside) 7424Assert.Empty(dataFlowResults.WrittenInside) 7458Assert.Empty(dataFlowResults.WrittenInside) 7492Assert.Equal("i, q", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7526Assert.Empty(dataFlowResults.WrittenInside) 7561Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7596Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7630Assert.Equal("l1", GetSymbolNamesJoined(analysis.WrittenInside)) 7661Assert.Equal("inside", GetSymbolNamesJoined(analysis.WrittenInside)) 7768Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 7820Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7869Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7910Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7946Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 7979Assert.Null(GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8026Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8071Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8134Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8344Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8381Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8422Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8486Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8527Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8565Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8603Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8645Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8688Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8731Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8775Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8819Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8876Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8933Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 8985Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9037Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9089Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9141Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9193Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9247Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9302Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9344Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9387Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9430Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9481Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9533Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9577Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9623Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9674Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9720Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9752Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9803Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 9842Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (121)
149Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 261Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 286Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 351Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 448Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 471Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 495Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 518Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 542Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 722Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 749Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 775Assert.Equal("x", GetSymbolNamesJoined(analysis.WrittenInside)) 801Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 828Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 854Assert.Equal("z", GetSymbolNamesJoined(analysis.WrittenInside)) 881Assert.Equal("z", GetSymbolNamesJoined(analysis.WrittenInside)) 907Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 934Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1044Assert.Equal("o", GetSymbolNamesJoined(analysis.WrittenInside)) 1085Assert.Equal("o", GetSymbolNamesJoined(analysis.WrittenInside)) 1125Assert.Equal("oo", GetSymbolNamesJoined(analysis.WrittenInside)) 1153Assert.Equal("j", GetSymbolNamesJoined(analysis.WrittenInside)) 1325Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1486Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 1506Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.WrittenInside)) 1573Assert.Equal("d, e, f", GetSymbolNamesJoined(analysis.WrittenInside)) 1611Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1646Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1679Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1705Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1738Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1778Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1816Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1854Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1881Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1908Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 'C# this is an assignment. In VB, this is a comparison so no assignment. 1948Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1980Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2013Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2040Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2067Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2109Assert.Equal("local01, local02, flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2142Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2180Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2220Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2256Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2296Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2337Assert.Equal("t, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2368Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2399Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2427Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2454Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2477Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 2506Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 2544Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 2580Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2996Assert.Equal("p", GetSymbolNamesJoined(analysisResult.WrittenInside)) 3033Assert.Equal("local", GetSymbolNamesJoined(analysisResult.WrittenInside)) 3106Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3195Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3239Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3282Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3353Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3392Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3432Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3470Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3555Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3606Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3653Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3699Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3745Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3790Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3826Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3863Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3907Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3953Assert.Equal("localint, x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3994Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4075Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4150Assert.Empty(dataFlowResults.WrittenInside) 4195Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4243Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4287Assert.Empty(dataFlowResults.WrittenInside) 4483Assert.Equal("l1", GetSymbolNamesJoined(analysis.WrittenInside)) 4593Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4646Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4696Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4738Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4775Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4809Assert.Null(GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4857Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4903Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 4967Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5138Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5204Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5246Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5285Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5324Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5367Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5411Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5455Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5500Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5545Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5603Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5661Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5714Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5767Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5820Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5875Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5931Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 5973Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6017Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6061Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6113Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6166Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6211Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6258Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6310Assert.Equal("obj2, obj3, obj4, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6357Assert.Equal("obj3, obj4", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6390Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6442Assert.Equal("obj2, obj4, obj5", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 6482Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside))
FlowAnalysis\TryLockUsingStatementTests.vb (50)
66Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 153Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 203Assert.Equal("s, e2", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 250Assert.Equal("x, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 307Assert.Equal("x, ex, ex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 365Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 422Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 478Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 534Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 585Assert.Equal("x, e, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 628Assert.Equal("x, local, y, ex, y", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 669Assert.Equal("sb, sb1, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 712Assert.Equal("sb, ss, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 763Assert.Equal("x, z, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 808Assert.Equal("x, z, ax", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 856Assert.Equal("y, z, ex, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 902Assert.Equal("p, z, ax", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 981Assert.Equal("s, ax, s, ex, s, s", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1040Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1080Assert.Equal("x, y, e, e", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1135Assert.Equal("x, local, y", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1178Assert.Equal("pex", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1233Assert.Equal("TryFunc, pex, lex, y", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1288Assert.Equal("TryFunc, pex, lex, y", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1329Assert.Equal("TryFunc, x, y", GetSymbolNamesJoined(dataFlowAnalysis.WrittenInside)) 1380Assert.Equal("M, refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1431Assert.Equal("M, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1479Assert.Equal("local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1528Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1576Assert.Equal("e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1611Assert.Equal("ap", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1754Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 1803Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 1854Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 1897Assert.Equal("y", GetSymbolNamesJoined(analysis.WrittenInside)) 1933Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 1972Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 2004Assert.Equal("x, y", GetSymbolNamesJoined(analysis.WrittenInside)) 2040Assert.Equal("goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.WrittenInside)) 2079Assert.Equal("x, y, y", GetSymbolNamesJoined(analysis.WrittenInside)) 2115Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.WrittenInside)) 2159Assert.Equal("i", GetSymbolNamesJoined(dataflowAnalysis.WrittenInside)) 2225Assert.Equal(2, dataFlowAnalysisResults.WrittenInside.Count) 2226Assert.Equal("goo1", dataFlowAnalysisResults.WrittenInside(0).ToDisplayString) 2227Assert.Equal("goo2", dataFlowAnalysisResults.WrittenInside(1).ToDisplayString) 2285Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 2345Assert.Equal(0, dataFlowAnalysisResults.WrittenInside.Count) 2405Assert.Equal(2, dataFlowAnalysisResults.WrittenInside.Count) 2406Assert.Equal("goo1", dataFlowAnalysisResults.WrittenInside(0).ToDisplayString) 2407Assert.Equal("goo2", dataFlowAnalysisResults.WrittenInside(1).ToDisplayString)
Semantics\ForeachTest.vb (1)
1331Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.WrittenInside))
Semantics\ForLoopTest.vb (1)
597Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.WrittenInside))
Semantics\GotoTests.vb (3)
58Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 102Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 145Assert.Equal("str", GetSymbolNamesJoined(dataFlowResults.WrittenInside))
Semantics\IFOperatorTest.vb (1)
1191Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.WrittenInside))
Semantics\IteratorTests.vb (1)
198Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside))
Semantics\MeMyBaseMyClassTests.vb (7)
54Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 94Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 128Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 162Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 200Assert.Equal("TEST, x, x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 236Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside)) 272Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.WrittenInside))
Semantics\MultiDimensionalTest.vb (2)
341Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.WrittenInside)) 360Assert.Equal(WrittenInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.WrittenInside))
Semantics\QueryExpressions_FlowAnalysis.vb (73)
119Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 166Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 213Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 264Assert.Equal("y, z", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 315Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 362Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 409Assert.Equal("s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 451Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 492Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 533Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 574Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 615Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 656Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 697Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 761Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 825Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 889Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1024Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1225Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1280Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1335Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1390Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1445Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1500Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1555Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1611Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1655Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1705Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1761Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1817Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1873Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1925Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 1977Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2029Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2081Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2133Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2183Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2242Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2301Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2360Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2418Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2476Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2534Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2599Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2664Assert.Equal("s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2729Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2793Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2864Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 2935Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3006Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3077Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3148Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3219Assert.Equal("s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3274Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3329Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3384Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3439Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3494Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3549Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3604Assert.Equal("s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3659Assert.Equal("s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3716Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3773Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3830Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3887Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 3944Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4001Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4058Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4115Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4172Assert.Equal("t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4229Assert.Equal("t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4265Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside)) 4298Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.WrittenInside))
Semantics\SyncLockTests.vb (6)
47Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.WrittenInside)) 81Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.WrittenInside)) 114Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.WrittenInside)) 149Assert.Equal("myLock", GetSymbolNamesJoined(analysisDataflow.WrittenInside)) 182Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.WrittenInside)) 210Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.WrittenInside))
Semantics\WithBlockSemanticModelTests.vb (3)
147Assert.Empty(dataFlowResults.WrittenInside) 179Assert.Empty(dataFlowResults.WrittenInside) 211Assert.Empty(dataFlowResults.WrittenInside)