2 overrides of ReadInside
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
191public override ImmutableArray<ISymbol> ReadInside
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
150Public Overrides ReadOnly Property ReadInside As ImmutableArray(Of ISymbol)
825 references to ReadInside
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
153if (dataFlow.ReadInside.Contains(localOrParameter) || 163return exprDataFlow.ReadInside.Contains(localOrParameter) ||
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (350)
FlowAnalysis\IterationJumpYieldStatementTests.cs (29)
50Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 83Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 113Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 143Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 173Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 202Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 232Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 261Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 307Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 336Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 365Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 394Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 423Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 452Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 577Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 637Assert.Equal("i", GetSymbolNamesJoined(analysis.ReadInside)); 658Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 695Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 745Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 765Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 796Assert.Equal("ary, a, v, x", GetSymbolNamesJoined(analysis.ReadInside)); 828Assert.Equal("a, v, x", GetSymbolNamesJoined(analysis.ReadInside)); 860Assert.Equal("a, v, x", GetSymbolNamesJoined(analysis.ReadInside)); 891Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 981Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1009Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1037Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1065Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1109Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside));
FlowAnalysis\PatternMatchingTest5.cs (1)
39Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside));
FlowAnalysis\PatternsVsRegions.cs (5)
39Assert.Equal("o, i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 65Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 91Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 117Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 142Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside));
FlowAnalysis\RegionAnalysisTests.cs (276)
63Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 99Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 139Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 236Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.ReadInside)); 303Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 437Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 466Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 870Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 889Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 909Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 929Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 958Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 986Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1014Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1045Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1063Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1251Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1281Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1311Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1369Assert.Equal(GetSymbolNamesJoined(results1.ReadInside), 1370GetSymbolNamesJoined(results2.ReadInside)); 1418Assert.Equal(GetSymbolNamesJoined(results1.ReadInside), 1419GetSymbolNamesJoined(results2.ReadInside)); 1461Assert.Equal("System.Int32 y", dataFlows.ReadInside.Single().ToTestDisplayString()); 1479Assert.Equal("System.Int32 y", dataFlows.ReadInside.Single().ToTestDisplayString()); 1515Assert.Equal("this", dataFlows.ReadInside.Single().Name); 1601Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 1635Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 1675Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 1716Assert.Equal("s", GetSymbolNamesJoined(analysis.ReadInside)); 1757Assert.Equal("s", GetSymbolNamesJoined(analysis.ReadInside)); 1796Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 1833Assert.Equal("p", GetSymbolNamesJoined(analysis.ReadInside)); 1867Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 1902Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)); 1937Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)); 1972Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)); 2011Assert.Equal("z", GetSymbolNamesJoined(analysis.ReadInside)); 2051Assert.Equal("x, z", GetSymbolNamesJoined(analysis.ReadInside)); 2085Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.ReadInside)); 2123Assert.Equal("b1", GetSymbolNamesJoined(analysis.ReadInside)); 2159Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 2196Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 2256Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 2286Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.ReadInside)); 2315Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.ReadInside)); 2348Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.ReadInside)); 2403Assert.Equal("x", GetSymbolNamesJoined(dataFlows.ReadInside)); 2437Assert.Null(GetSymbolNamesJoined(dataFlows.ReadInside)); 2471Assert.Equal("x", GetSymbolNamesJoined(dataFlows.ReadInside)); 2498Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 2548Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)); 2578Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)); 2614Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)); 2648Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)); 2773Assert.Equal("r, x, i, y, y2", GetSymbolNamesJoined(analysis.ReadInside)); 2883Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 2915Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3015Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3044Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3078Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3358Assert.Equal("i, j", GetSymbolNamesJoined(analysis.ReadInside)); 3668Assert.Equal("this, t1", GetSymbolNamesJoined(analysis.ReadInside)); 3705Assert.Equal("c, d", GetSymbolNamesJoined(analysis.ReadInside)); 3829Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3861Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3893Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3925Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 3990Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4023Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4123Assert.Equal("this, t", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4148Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4210Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4304Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4334Assert.Equal("p, v", GetSymbolNamesJoined(analysis.ReadInside)); 4471Assert.Equal("p1, p2, local_0, local_1, non_nullable", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4540Assert.Equal("value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 4661Assert.Null(GetSymbolNamesJoined(dataFlow.ReadInside)); 4707Assert.Equal("this", GetSymbolNamesJoined(dataFlow.ReadInside)); 5087Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5196Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5314Assert.Equal("x", GetSymbolNamesJoined(results1.ReadInside)); 5347Assert.Equal("p, y", GetSymbolNamesJoined(results1.ReadInside)); 5377Assert.Equal("ary, x", GetSymbolNamesJoined(dataFlows.ReadInside)); 5416Assert.Equal("i", GetSymbolNamesJoined(dataFlows.ReadInside)); 5449Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5494Assert.Equal(4, flowAnalysis.ReadInside.Count()); 5499Assert.Equal(2, flowAnalysis.ReadInside.Count()); 5504Assert.Equal(2, flowAnalysis.ReadInside.Count()); 5540Assert.Equal("x", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 5584Assert.Equal("x, y", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 5627Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 5664Assert.Equal("nums, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5694Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5722Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5749Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5776Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5811Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5844Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5878Assert.Equal("x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 5910Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 6023Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 6060Assert.Empty(dataFlowAnalysisResults.ReadInside); 6097Assert.Empty(dataFlowAnalysisResults.ReadInside); 6136Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 6175Assert.Equal("node", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 6224Assert.Equal("MyClass this", flowAnalysis.ReadInside.Single().ToTestDisplayString()); 6233Assert.Equal("MyClass this", flowAnalysis.ReadInside.Single().ToTestDisplayString()); 6259Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 6327Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 6572Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 6603Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 6633Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 6663Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 6698Assert.Equal("x", GetSymbolNamesJoined(results.ReadInside)); 6736Assert.Equal("x", GetSymbolNamesJoined(results.ReadInside)); 6764Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 6798Assert.Equal("x", GetSymbolNamesJoined(results.ReadInside)); 6826Assert.Equal("arg", GetSymbolNamesJoined(results.ReadInside)); 6856Assert.Equal("x", GetSymbolNamesJoined(results.ReadInside)); 6886Assert.Equal("x", GetSymbolNamesJoined(results.ReadInside)); 6916Assert.Equal("y", GetSymbolNamesJoined(results.ReadInside)); 6947Assert.Equal("this", GetSymbolNamesJoined(results.ReadInside)); 6983Assert.Equal("x, y", GetSymbolNamesJoined(results.ReadInside)); 7017Assert.Equal("y", GetSymbolNamesJoined(results.ReadInside)); 7049Assert.Equal("y", GetSymbolNamesJoined(analysis.ReadInside)); 7081Assert.Equal("y", GetSymbolNamesJoined(analysis.ReadInside)); 7111Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7145Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7181Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7213Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7250Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7281Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7312Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7352Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7395Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7470Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7500Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7530Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7563Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7593Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7623Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7653Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7683Assert.Equal("value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7713Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7743Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7773Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7803Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7832Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7861Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7886Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7922Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 7972Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 8029Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 8072Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 8159Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8190Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8222Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8258Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8292Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8327Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8367Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8408Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8443Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8478Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8513Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8545Assert.Equal("a", GetSymbolNamesJoined(results.ReadInside)); 8577Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8613Assert.Equal("a", GetSymbolNamesJoined(results.ReadInside)); 8649Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8681Assert.Equal("a", GetSymbolNamesJoined(results.ReadInside)); 8713Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8749Assert.Equal("a", GetSymbolNamesJoined(results.ReadInside)); 8785Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8816Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8851Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8882Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8917Assert.Null(GetSymbolNamesJoined(results.ReadInside)); 8953Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 8979Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 9004Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 9057Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 9106Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 9295Assert.Equal("value", GetSymbolNamesJoined(results.ReadInside)); 9329Assert.Equal("value", GetSymbolNamesJoined(analysis.ReadInside)); 9364Assert.Equal("value", GetSymbolNamesJoined(analysis.ReadInside)); 9655Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 9710Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 9764Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 9922Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10095Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10135Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10174Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10214Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10294Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10374Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10489Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10542Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10595Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 10771Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 10955Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 11035Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 11121Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 11174Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 11227Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 11354Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11421Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11488Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11555Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11596Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11759Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11840Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 11964Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12088Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12149Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12221Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12354Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12424Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12466Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12508Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12551Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12586Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12621Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12656Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12691Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12726Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12761Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12796Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12831Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12866Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 12901Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12936Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 12971Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13006Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13041Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13076Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13111Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13146Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13181Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13226Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13260Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13295Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13330Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13365Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13403Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13438Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13473Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13508Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13543Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13578Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13613Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13648Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13683Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13720Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13755Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13790Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13825Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13860Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13895Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 13935Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 13973Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 14013Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 14053Assert.Equal("x", GetSymbolNamesJoined(analysis.ReadInside)); 14093Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 14124Assert.Equal("this", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14147Assert.Null(GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14174Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14181Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14186Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14210Assert.Equal("i, j, k, l", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14217Assert.Equal("i, j, k, l", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14222Assert.Equal("i, j, k", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14227Assert.Equal("i, j", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14255Assert.Equal("c, y, z", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14264Assert.Equal("c, y, z", GetSymbolNamesJoined(flowAnalysis.ReadInside)); 14270Assert.Equal("c, y", GetSymbolNamesJoined(flowAnalysis.ReadInside));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
56Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 93Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 150Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 207Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 266Assert.Equal("by", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 304Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 349Assert.Equal("para", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 410Assert.Equal("sb", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 455Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 494Assert.Equal("para, local", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 538Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 581Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 621Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 669Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 713Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 823Assert.Equal("y, ax", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 869Assert.Equal("x, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 907Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 951Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1000Assert.Equal("this, p, i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1057Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.ReadInside), GetSymbolNamesJoined(dataFlowResults01.ReadInside)); 1100Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1143Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1190Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1237Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)); 1445Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.ReadInside)); 1472Assert.Equal("this, x", GetSymbolNamesJoined(analysis.ReadInside)); 1507Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.ReadInside)); 1542Assert.Equal("this, x, c", GetSymbolNamesJoined(analysis.ReadInside)); 1570Assert.Equal("this, x", GetSymbolNamesJoined(analysis.ReadInside)); 1600Assert.Null(GetSymbolNamesJoined(analysis.ReadInside)); 1631Assert.Equal("name, obj", GetSymbolNamesJoined(analysis.ReadInside)); 1661Assert.Equal("str", GetSymbolNamesJoined(analysis.ReadInside)); 1695Assert.Equal("str", GetSymbolNamesJoined(analysisDataflow.ReadInside)); 1734Assert.Equal("obj", GetSymbolNamesJoined(analysisDataflow.ReadInside));
Semantics\OutVarTests.cs (2)
1124dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance)); 32803Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
339Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertLinq\ConvertForEachToLinqQuery\DefaultConverter.cs (1)
29.SelectMany(statement => ForEachInfo.SemanticModel.AnalyzeDataFlow(statement).ReadInside).Select(symbol => symbol.Name));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LambdaTests.cs (2)
7648Assert.Contains(a, dataFlow.ReadInside); 7649Assert.DoesNotContain(b, dataFlow.ReadInside);
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\MethodExtractor.Analyzer.cs (3)
117var thisParameterBeingRead = (IParameterSymbol?)dataFlowAnalysisData.ReadInside.FirstOrDefault(IsThisParameter); 122var primaryConstructorParameterReadOrWritten = !isInPrimaryConstructorBaseType && dataFlowAnalysisData.ReadInside 527using var _5 = GetPooledSymbolSet(dataFlowAnalysisData.ReadInside, out var readInsideMap);
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (2)
153if (dataFlow.ReadInside.Contains(localOrParameter) || 163return exprDataFlow.ReadInside.Contains(localOrParameter) ||
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (465)
FlowAnalysis\FlowTestBase.vb (1)
234AssertEx.Equal(If(readInside, {}), analysis.ReadInside.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (28)
98Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 134Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 164Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 195Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 226Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 258Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 290Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 341Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 372Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 403Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 436Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 582Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 621Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 663Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 692Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 797Assert.Equal(1, dataFlowAnalysisResults.ReadInside.Count) 798Assert.Equal("unassignedRef1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 836Assert.Equal(2, dataFlowAnalysisResults.ReadInside.Count) 837Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 872Assert.Empty(dataFlowAnalysisResults.ReadInside) 904Assert.Empty(dataFlowAnalysisResults.ReadInside) 991Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1251Assert.Equal("X, Z, Y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1413Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1451Assert.Equal("p", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1607Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1637Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1668Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside))
FlowAnalysis\RegionAnalysisTests.vb (165)
90Assert.Equal("s", GetSymbolNamesJoined(analysis.ReadInside)) 186Assert.Equal("o3", GetSymbolNamesJoined(analysis.ReadInside)) 465Assert.Equal("arg1, arg2", GetSymbolNamesJoined(analysis.ReadInside)) 497Assert.Equal("arg2", GetSymbolNamesJoined(analysis.ReadInside)) 735Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.ReadInside)) 1103Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1165Assert.Equal("s", GetSymbolNamesJoined(analysis.ReadInside)) 1449Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1653Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1679Assert.Equal("b", GetSymbolNamesJoined(analysis.ReadInside)) 1704Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1729Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1755Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1780Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1806Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1831Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 1857Assert.Equal("b", GetSymbolNamesJoined(analysis.ReadInside)) 1966Assert.Equal("o", GetSymbolNamesJoined(analysis.ReadInside)) 2006Assert.Equal("o, oo", GetSymbolNamesJoined(analysis.ReadInside)) 2045Assert.Equal("o", GetSymbolNamesJoined(analysis.ReadInside)) 2072Assert.Equal("i, j", GetSymbolNamesJoined(analysis.ReadInside)) 2232Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2269Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2588Assert.Equal("c, d", GetSymbolNamesJoined(analysis.ReadInside)) 2626Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2786Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2821Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2853Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2878Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2905Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2929Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2952Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2974Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2996Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3019Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3051Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3090Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3127Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3164Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3190Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3216Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3255Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3287Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3319Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3345Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3371Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3412Assert.Equal("ary, local01, local02, flocal, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3445Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3481Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) ' Sees Me beng read 3520Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) ' Sees Me being read 3555Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3595Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3653Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.ReadInside)) 3687Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.ReadInside)) 3732Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.ReadInside)) 3806Assert.Equal(GetSymbolNamesJoined(dataResults1.ReadInside), 3807GetSymbolNamesJoined(dataResults2.ReadInside)) 3907Assert.Equal(GetSymbolNamesJoined(dataResults1.ReadInside), 3908GetSymbolNamesJoined(dataResults2.ReadInside)) 3951Assert.Equal("Me, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3992Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4055Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4080Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4103Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4126Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4150Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4174Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4197Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4225Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4255Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4285Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4313Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4341Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4369Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4395Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4421Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4449Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4477Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4505Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4533Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4623Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 4657Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5537Assert.Equal("local, constLocal, p", GetSymbolNamesJoined(analysisResult.ReadInside)) 5576Assert.Equal("mp, constLocal", GetSymbolNamesJoined(analysisResult.ReadInside)) 5663Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5752Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5796Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5839Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5926Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 5983Assert.Equal("arr", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6046Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6085Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6125Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6163Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6248Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6299Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6346Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6392Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6438Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6483Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6518Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6552Assert.Equal("strlocal", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6595Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6640Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6680Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6748Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6787Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 6863Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6914Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6960Assert.Equal("args, x, bb, y", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7009Assert.Equal("p, local, x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7054Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7311Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7347Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7385Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7423Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7457Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7491Assert.Equal("i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7525Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7560Assert.Empty(dataFlowResults.ReadInside) 7595Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7629Assert.Equal("Me, x, y", GetSymbolNamesJoined(analysis.ReadInside)) 7660Assert.Equal("y", GetSymbolNamesJoined(analysis.ReadInside)) 7766Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 7819Assert.Equal("local, p, at", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7868Assert.Equal("args, igoo, at1, p", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7909Assert.Equal("at1", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7945Assert.Equal("Me, args, ary", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 7978Assert.Null(GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8025Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8070Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8133Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8343Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8380Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8421Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8485Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8526Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8564Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8602Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8644Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8687Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8730Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8774Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8818Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8875Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8932Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 8984Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9036Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9088Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9140Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9192Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9246Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9301Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9343Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9386Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9429Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9480Assert.Equal("obj1, obj2, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9532Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9576Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9622Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9673Assert.Equal("obj1, obj2, obj3, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9719Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9751Assert.Equal("obj2", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9802Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 9841Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (112)
146Assert.Equal("arg2", GetSymbolNamesJoined(analysis.ReadInside)) 258Assert.Equal("a, b, c, d, e, f", GetSymbolNamesJoined(analysis.ReadInside)) 285Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 349Assert.Equal("s", GetSymbolNamesJoined(analysis.ReadInside)) 721Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 748Assert.Equal("b", GetSymbolNamesJoined(analysis.ReadInside)) 774Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 800Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 827Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 853Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 880Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 906Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.ReadInside)) 933Assert.Equal("b", GetSymbolNamesJoined(analysis.ReadInside)) 1042Assert.Equal("o", GetSymbolNamesJoined(analysis.ReadInside)) 1083Assert.Equal("o, oo", GetSymbolNamesJoined(analysis.ReadInside)) 1123Assert.Equal("o", GetSymbolNamesJoined(analysis.ReadInside)) 1151Assert.Equal("i, j", GetSymbolNamesJoined(analysis.ReadInside)) 1323Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1572Assert.Equal("c, d", GetSymbolNamesJoined(analysis.ReadInside)) 1609Assert.Equal("Me, a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1644Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1677Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1703Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1736Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1776Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1814Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1852Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1879Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1906Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1946Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1979Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2012Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2039Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2066Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2108Assert.Equal("ary, local01, local02, flocal, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2141Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2178Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) ' Sees Me beng read 2218Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) ' Sees Me being read 2254Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2294Assert.Equal("Me, t1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2335Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2366Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2397Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2426Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2453Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2543Assert.Equal("p, v", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 2578Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2994Assert.Equal("local, constLocal, p", GetSymbolNamesJoined(analysisResult.ReadInside)) 3032Assert.Equal("mp, constLocal", GetSymbolNamesJoined(analysisResult.ReadInside)) 3104Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3193Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3237Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3280Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3351Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3390Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3430Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3468Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3553Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3604Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3651Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3697Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3743Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3788Assert.Equal("b", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3824Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3861Assert.Equal("strlocal", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3905Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3951Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3992Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4073Assert.Equal("goo, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4149Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4194Assert.Equal("args, x, bb, y", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4242Assert.Equal("p, local, x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4286Assert.Equal("i, s", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4482Assert.Equal("Me, x, y", GetSymbolNamesJoined(analysis.ReadInside)) 4591Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4645Assert.Equal("local, p, at", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4695Assert.Equal("args, igoo, at1, p", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4737Assert.Equal("at1", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4774Assert.Equal("Me, args, ary", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4808Assert.Null(GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4856Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4902Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 4966Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5137Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5203Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5245Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5284Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5323Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5366Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5410Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5454Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5499Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5544Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5602Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5660Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5713Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5766Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5819Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5874Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5930Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 5972Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6016Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6060Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6112Assert.Equal("obj1, obj2, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6165Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6210Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6257Assert.Equal("obj1, obj2, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6309Assert.Equal("obj1, obj2, obj3, obj5, obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6356Assert.Equal("obj1, obj2, obj3, obj4", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6389Assert.Equal("obj2", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6441Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 6481Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside))
FlowAnalysis\TryLockUsingStatementTests.vb (59)
64Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 151Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 201Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 248Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 305Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 364Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 421Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 477Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 533Assert.Equal("x, ex", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 583Assert.Equal("x, e", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 626Assert.Equal("x, s, y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 668Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 711Assert.Equal("ss", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 761Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 807Assert.Equal("p, x", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 855Assert.Equal("p, x, z", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 900Assert.Equal("p, x, y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 980Assert.Equal("x, y, ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1039Assert.Equal("x, ax", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1079Assert.Equal("x, y, e", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1133Assert.Equal("Me, x, local, y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1176Assert.Equal("s, pex", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1232Assert.Equal("TryFunc, Me, s, pex, lex", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1287Assert.Equal("TryFunc, Me, s", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1328Assert.Equal("TryFunc, x, y", GetSymbolNamesJoined(dataFlowAnalysis.ReadInside)) 1379Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1430Assert.Equal("refp, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1478Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1527Assert.Equal("p, local, e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1575Assert.Equal("p, local, e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1609Assert.Equal("p, e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1748Assert.Equal(2, dataFlowAnalysisResults.ReadInside.Count) 1749Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 1750Assert.Equal("lock", dataFlowAnalysisResults.ReadInside(1).ToDisplayString) 1796Assert.Equal(1, dataFlowAnalysisResults.ReadInside.Count) 1797Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 1848Assert.Equal(2, dataFlowAnalysisResults.ReadInside.Count) 1849Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 1850Assert.Equal("lock", dataFlowAnalysisResults.ReadInside(1).ToDisplayString) 1895Assert.Empty(analysis.ReadInside) 1931Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)) 1970Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)) 2002Assert.Equal("x, y", GetSymbolNamesJoined(analysis.ReadInside)) 2038Assert.Equal("x, y, goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.ReadInside)) 2077Assert.Equal("objs, x, y", GetSymbolNamesJoined(analysis.ReadInside)) 2113Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.ReadInside)) 2157Assert.Equal("Obj1, i", GetSymbolNamesJoined(dataflowAnalysis.ReadInside)) 2214Assert.Equal(3, dataFlowAnalysisResults.ReadInside.Count) 2215Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 2216Assert.Equal("goo1", dataFlowAnalysisResults.ReadInside(1).ToDisplayString) 2217Assert.Equal("goo2", dataFlowAnalysisResults.ReadInside(2).ToDisplayString) 2278Assert.Equal(1, dataFlowAnalysisResults.ReadInside.Count) 2279Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 2336Assert.Equal(1, dataFlowAnalysisResults.ReadInside.Count) 2337Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 2394Assert.Equal(3, dataFlowAnalysisResults.ReadInside.Count) 2395Assert.Equal("x", dataFlowAnalysisResults.ReadInside(0).ToDisplayString) 2396Assert.Equal("goo1", dataFlowAnalysisResults.ReadInside(1).ToDisplayString) 2397Assert.Equal("goo2", dataFlowAnalysisResults.ReadInside(2).ToDisplayString)
Semantics\ForeachTest.vb (1)
1329Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.ReadInside))
Semantics\ForLoopTest.vb (1)
595Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.ReadInside))
Semantics\GotoTests.vb (3)
56Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 100Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.ReadInside)) 143Assert.Equal("flag1", GetSymbolNamesJoined(dataFlowResults.ReadInside))
Semantics\IFOperatorTest.vb (1)
1189Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.ReadInside))
Semantics\IteratorTests.vb (1)
196Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside))
Semantics\MeMyBaseMyClassTests.vb (7)
52Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 92Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 126Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 160Assert.Equal("Me, X", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 198Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 234Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside)) 270Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.ReadInside))
Semantics\MultiDimensionalTest.vb (2)
339Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.ReadInside)) 358Assert.Equal(ReadInsideSymbol, GetSymbolNamesSortedAndJoined(analyze.ReadInside))
Semantics\QueryExpressions_FlowAnalysis.vb (75)
117Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 164Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 211Assert.Equal("q, y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 262Assert.Equal("s1, z", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 313Assert.Equal("y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 358Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 359Assert.Same(flowsIn, dataFlowAnalysisResults.ReadInside(0)) 407Assert.Equal("q, s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 448Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 450Assert.NotSame(dataFlowAnalysisResults.ReadInside(0), GetSymbolNamesJoined(dataFlowAnalysisResults.ReadOutside)(1)) 490Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 531Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 572Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 613Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 654Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 695Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 759Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 823Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 887Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1022Assert.Equal("q, s", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1223Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1278Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1333Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1388Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1443Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1498Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1553Assert.Equal("q, x", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1609Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1653Assert.Equal("y, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1703Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1759Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1815Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1871Assert.Equal("s2, s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1923Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 1975Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2027Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2079Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2131Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2181Assert.Equal("q", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2240Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2299Assert.Equal("qs", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2358Assert.Equal("qu", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2416Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2474Assert.Equal("s3", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2532Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2597Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2662Assert.Equal("qi, s1, i1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2727Assert.Equal("i1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2791Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2862Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 2933Assert.Equal("qs", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3004Assert.Equal("qu", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3075Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3146Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3217Assert.Equal("qi, qb, qs, qu, s1, s2, s3, s4", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3272Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3327Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3382Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3437Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3492Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3547Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3602Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3657Assert.Equal("qi, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3714Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3771Assert.Equal("qb", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3828Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3885Assert.Equal("qi", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3942Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 3999Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4056Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4113Assert.Equal("s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4170Assert.Equal("qi, qb, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4227Assert.Equal("qi, qb, s1, s2", GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4263Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside)) 4296Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.ReadInside))
Semantics\SyncLockTests.vb (6)
45Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.ReadInside)) 79Assert.Equal("x1", GetSymbolNamesJoined(analysisDataflow.ReadInside)) 112Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.ReadInside)) 147Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.ReadInside)) 180Assert.Equal("syncroot", GetSymbolNamesJoined(analysisDataflow.ReadInside)) 208Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.ReadInside))
Semantics\WithBlockSemanticModelTests.vb (3)
145Assert.Empty(dataFlowResults.ReadInside) 177Assert.Empty(dataFlowResults.ReadInside) ' assume anonymous locals don't show 209Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.ReadInside))