2 overrides of VariablesDeclared
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
57public override ImmutableArray<ISymbol> VariablesDeclared
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
47Public Overrides ReadOnly Property VariablesDeclared As ImmutableArray(Of ISymbol)
781 references to VariablesDeclared
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
262foreach (var local in df.VariablesDeclared)
SymbolKey\SymbolKeyTestBase.cs (2)
328list.AddRange(df.VariablesDeclared); 338foreach (var v in df.VariablesDeclared)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (353)
FlowAnalysis\IterationJumpYieldStatementTests.cs (32)
47Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 80Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 110Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 140Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 170Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 199Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 229Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 258Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 304Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 333Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 362Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 391Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 420Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 449Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 573Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 635Assert.Equal("i, j", GetSymbolNamesJoined(analysis.VariablesDeclared)); 655Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 692Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 743Assert.Equal("c", GetSymbolNamesJoined(analysis.VariablesDeclared)); 763Assert.Equal("v", GetSymbolNamesJoined(analysis.VariablesDeclared)); 792Assert.Equal("v, x", GetSymbolNamesJoined(analysis.VariablesDeclared)); 824Assert.Equal("x", GetSymbolNamesJoined(analysis.VariablesDeclared)); 856Assert.Equal("x", GetSymbolNamesJoined(analysis.VariablesDeclared)); 887Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 916Assert.Equal(2, flow.VariablesDeclared.Count()); 917Assert.True(flow.VariablesDeclared.Any((s) => s.Name == "b")); 918Assert.True(flow.VariablesDeclared.Any((s) => s.Name == "s")); 978Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1006Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1034Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1062Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1105Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared));
FlowAnalysis\PatternMatchingTest5.cs (1)
35Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared));
FlowAnalysis\PatternsVsRegions.cs (5)
35Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 61Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 87Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 113Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 138Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared));
FlowAnalysis\RegionAnalysisTests.cs (275)
57Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 93Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 133Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 238Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 298Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 431Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 460Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 952Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 980Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1008Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1039Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1100Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1124Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1145Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1170Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1195Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1221Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1245Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1275Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1305Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1440Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1457Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1475Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1496Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 1537var tmp = dataFlows.VariablesDeclared; // ensure no exception thrown 1538Assert.Empty(dataFlows.VariablesDeclared); 1552Assert.Empty(dataFlows.VariablesDeclared); 1593Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1627Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1667Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1708Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1749Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1788Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1825Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1859Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1894Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1929Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1964Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2003Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2043Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2077Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2115Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2151Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2188Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2248Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 2277Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 2306Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 2339Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 2492Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 2544Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)); 2574Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)); 2610Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)); 2644Assert.Null(GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)); 2732Assert.Equal("b", GetSymbolNamesJoined(analysis.VariablesDeclared)); 2778Assert.Equal("y, y2, rrr", GetSymbolNamesJoined(analysis.VariablesDeclared)); 2851Assert.Equal("b", GetSymbolNamesJoined(analysis.VariablesDeclared)); 2879Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 2911Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3011Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3040Assert.Equal("x, z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3074Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3130Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 3146Assert.Equal("obj", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3250Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3266Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3315Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3332Assert.Equal("a, a", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3333var intsym = analysis.VariablesDeclared.First() as ILocalSymbol; 3334var longsym = analysis.VariablesDeclared.Last() as ILocalSymbol; 3355Assert.Equal("j", GetSymbolNamesJoined(analysis.VariablesDeclared)); 3825Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3857Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3889Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3921Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 3986Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4019Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4044Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4119Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4144Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4206Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4300Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4329Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 4360Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 4386Assert.Null(GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 4409Assert.Empty(dataFlows.VariablesDeclared); 4467Assert.Equal("ret", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4494Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4531Assert.Equal("p, t", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 4656Assert.Equal("x1", GetSymbolNamesJoined(dataFlow.VariablesDeclared)); 4702Assert.Null(GetSymbolNamesJoined(dataFlow.VariablesDeclared)); 5082Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5191Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5280Assert.Equal("testDel, x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5305Assert.Equal("testDel, x, y", GetSymbolNamesJoined(results1.VariablesDeclared)); 5407Assert.Equal("d", GetSymbolNamesJoined(dataFlows.VariablesDeclared)); 5440Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5496Assert.Equal(5, flowAnalysis.VariablesDeclared.Count()); 5501Assert.Equal(0, flowAnalysis.VariablesDeclared.Count()); 5506Assert.Equal(1, flowAnalysis.VariablesDeclared.Count()); 5542Assert.Null(GetSymbolNamesJoined(flowAnalysis.VariablesDeclared)); 5586Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.VariablesDeclared)); 5629Assert.Equal("y", GetSymbolNamesJoined(flowAnalysis.VariablesDeclared)); 5658Assert.Equal("q2, x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5688Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5716Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5743Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5770Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5802Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5837Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5869Assert.Equal("temp, x, z, w", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5901Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 5934Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 6017Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 6054Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6091Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6130Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6169Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6250Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 6318Assert.Equal("o", GetSymbolNamesJoined(analysis.VariablesDeclared)); 6523Assert.Equal("a, b, c, d, e, f, g, h, i, j", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 6546Assert.Equal("a, b", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 6568Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 6599Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 6629Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 6659Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 6694Assert.Equal("x", GetSymbolNamesJoined(results.VariablesDeclared)); 6732Assert.Equal("x", GetSymbolNamesJoined(results.VariablesDeclared)); 6762Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 6794Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 6828Assert.Equal("localValue", GetSymbolNamesJoined(results.VariablesDeclared)); 6858Assert.Equal("y", GetSymbolNamesJoined(results.VariablesDeclared)); 6888Assert.Equal("y", GetSymbolNamesJoined(results.VariablesDeclared)); 6920Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 6943Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 6977Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 7013Assert.Equal("y", GetSymbolNamesJoined(results.VariablesDeclared)); 7040Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 7072Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 7107Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7141Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7175Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7209Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7247Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7277Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7308Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7348Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7389Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7461Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7491Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7521Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7554Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7584Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7614Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7644Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7674Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7704Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7734Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7764Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7794Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7823Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7852Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7877Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7913Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 7963Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 8022Assert.Equal("k", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 8064Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 8155Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8186Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8218Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8254Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8288Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8323Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8363Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8404Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8439Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8474Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8509Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8541Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8573Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8609Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8645Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8677Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8709Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8745Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 8781Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8812Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8847Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8878Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8913Assert.Equal("a", GetSymbolNamesJoined(results.VariablesDeclared)); 8948Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 8974Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 8999Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 9044Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 9093Assert.Equal("c", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 9291Assert.Null(GetSymbolNamesJoined(results.VariablesDeclared)); 9331Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 9366Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 9647Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 9702Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 9756Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 9914Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10087Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10127Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10166Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10206Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10286Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10366Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10481Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10534Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10587Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10763Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 10947Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11027Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11113Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11166Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11219Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11346Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11413Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11480Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11547Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11588Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11751Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11832Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 11956Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12080Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12141Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12213Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12346Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12408Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12458Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12492Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12543Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12578Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12613Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12648Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12683Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12718Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12753Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12788Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12823Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12858Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12893Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12928Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12963Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 12998Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13033Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13068Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13103Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13138Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13173Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13218Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13252Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13287Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13322Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13357Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13395Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13430Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13465Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13500Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13535Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13570Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13605Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13640Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13675Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13712Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13747Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13782Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13817Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13852Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13887Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13927Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 13965Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 14005Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 14045Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 14085Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared));
FlowAnalysis\TryLockUsingStatementTests.cs (36)
52Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 89Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 146Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 203Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 262Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 300Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 345Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 406Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 451Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 490Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 534Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 577Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 617Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 662Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 709Assert.Equal("s, ax, s, s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 818Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 864Assert.Equal("s, ax, ex", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 903Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 947Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 996Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1053Assert.Equal(GetSymbolNamesJoined(dataFlowResults02.VariablesDeclared), GetSymbolNamesJoined(dataFlowResults01.VariablesDeclared)); 1095Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1138Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1185Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1232Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)); 1442Assert.Equal("c", GetSymbolNamesJoined(analysis.VariablesDeclared)); 1469Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1504Assert.Equal("c", GetSymbolNamesJoined(analysis.VariablesDeclared)); 1539Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1567Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1597Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1628Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1658Assert.Null(GetSymbolNamesJoined(analysis.VariablesDeclared)); 1692Assert.Null(GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)); 1731Assert.Null(GetSymbolNamesJoined(analysisDataflow.VariablesDeclared));
Semantics\OutVarTests.cs (3)
1113Assert.True(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance)); 17754Assert.Equal("System.Int32 x2", dataFlow.VariablesDeclared.Single().ToTestDisplayString()); 32751Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance));
Semantics\PatternMatchingTestBase.cs (1)
335Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance));
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
83var captures = dataFlow.CapturedInside.Except(dataFlow.VariablesDeclared).Except(declaredSymbol.Parameters).ToList();
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
113var requiresBlock = !operation.SemanticModel.AnalyzeDataFlow(node).VariablesDeclared.IsDefaultOrEmpty;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypeTests.cs (1)
1680var localvars = model.AnalyzeDataFlow(mnode.Body).VariablesDeclared;
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
469var variableDeclaredMap = new HashSet<ISymbol>(dataFlowAnalysisData.VariablesDeclared);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
250var captures = analysis.CapturedInside.Except(analysis.VariablesDeclared).ToImmutableArray();
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\VisualBasicSelectionValidator.vb (1)
203For Each symbol In result.VariablesDeclared
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (419)
FlowAnalysis\FlowTestBase.vb (1)
236AssertEx.Equal(If(variablesDeclared, {}), analysis.VariablesDeclared.Select(Function(s) s.Name).ToArray())
FlowAnalysis\IterationJumpYieldStatementTests.vb (30)
95Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 131Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 161Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 192Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 223Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 255Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 287Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 338Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 369Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 400Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 433Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 578Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 617Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 659Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 688Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 719Assert.Equal("i", GetSymbolNamesJoined(analysis.VariablesDeclared)) 745Assert.Equal("a", GetSymbolNamesJoined(analysis.VariablesDeclared)) 801Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 832Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 868Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 900Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) ' should be empty, or it could not be extracted. 987Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 1347Assert.Equal(2, flow.VariablesDeclared.Count) 1348Assert.Equal(True, flow.VariablesDeclared.Any(Function(s) s.Name = "b")) 1349Assert.Equal(True, flow.VariablesDeclared.Any(Function(s) s.Name = "s")) 1409Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1447Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1604Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1634Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1665Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared))
FlowAnalysis\RegionAnalysisTests.vb (131)
467Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 499Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 737Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 1097Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 1298Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1322Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1345Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1370Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1394Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1419Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1451Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1476Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1501Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)) 1530Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 1562Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 1875Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)) 1902Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2067Assert.Equal("j", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2226Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2263Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2620Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2780Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2815Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2847Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2872Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2899Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3045Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3084Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3121Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3158Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3184Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3210Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3249Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3281Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3313Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3339Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3365Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3406Assert.Equal("flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3439Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3475Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3514Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3549Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3589Assert.Equal("v", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3945Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3986Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4049Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4219Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4249Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4558Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 4587Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 4617Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 4651Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5528Assert.Equal("p", GetSymbolNamesJoined(analysisResult.VariablesDeclared)) 5567Assert.Equal(Nothing, GetSymbolNamesJoined(analysisResult.VariablesDeclared)) 5659Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5745Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5789Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5832Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5923Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 5980Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6039Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6078Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6118Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6156Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6241Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6292Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6339Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6385Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6431Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6476Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6511Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6548Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6591Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6636Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6676Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6744Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6780Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 6854Assert.Empty(dataFlowResults.VariablesDeclared) 6905Assert.Empty(dataFlowResults.VariablesDeclared) 6951Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7000Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7045Assert.Empty(dataFlowResults.VariablesDeclared) 7302Assert.Empty(dataFlowResults.VariablesDeclared) 7338Assert.Empty(dataFlowResults.VariablesDeclared) 7376Assert.Empty(dataFlowResults.VariablesDeclared) 7448Assert.Empty(dataFlowResults.VariablesDeclared) 7482Assert.Equal("i, q", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7622Assert.Equal("l1", GetSymbolNamesJoined(analysis.VariablesDeclared)) 7653Assert.Equal("inside", GetSymbolNamesJoined(analysis.VariablesDeclared)) 7762Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 7816Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7865Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7906Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7942Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 7975Assert.Null(GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8022Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8067Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8130Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8336Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8373Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8414Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8478Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8519Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8557Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8595Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8637Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8680Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8723Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8767Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8811Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8868Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8925Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 8977Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9029Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9081Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9133Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9185Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9239Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9294Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9340Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9383Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9426Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9477Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9529Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9573Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9619Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9670Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9716Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9749Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9799Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 9838Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (108)
148Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 260Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 279Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 449Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 472Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 496Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 519Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 543Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 567Assert.Equal("b, x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)) 595Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 626Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.VariablesDeclared)) 952Assert.Equal("x, y, z", GetSymbolNamesJoined(analysis.VariablesDeclared)) 980Assert.Equal("a, b, x, y, z, c", GetSymbolNamesJoined(analysis.VariablesDeclared)) 1146Assert.Equal("j", GetSymbolNamesJoined(analysis.VariablesDeclared)) 1317Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1603Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1638Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1671Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1697Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1730Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1770Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1808Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1846Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1873Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1900Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1940Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1973Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2006Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2033Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2060Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2102Assert.Equal("flocal, ex, slocal", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2135Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2172Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2212Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2248Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2288Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2329Assert.Equal("t1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2360Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2391Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2478Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 2507Assert.Equal("x, y, z", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 2537Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 2572Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2987Assert.Equal("p", GetSymbolNamesJoined(analysisResult.VariablesDeclared)) 3025Assert.Equal(Nothing, GetSymbolNamesJoined(analysisResult.VariablesDeclared)) 3098Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3186Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3230Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3273Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3344Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3383Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3423Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3461Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3546Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3597Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3644Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3690Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3736Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3781Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3817Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3855Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3899Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3945Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3986Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4066Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4142Assert.Empty(dataFlowResults.VariablesDeclared) 4187Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4235Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4279Assert.Empty(dataFlowResults.VariablesDeclared) 4475Assert.Equal("l1", GetSymbolNamesJoined(analysis.VariablesDeclared)) 4585Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4640Assert.Equal("lambda, p, at", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4690Assert.Equal("at2, p", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4732Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4769Assert.Equal("ary", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4803Assert.Null(GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4851Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4897Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 4961Assert.Equal("s", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5130Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5196Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5238Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5277Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5316Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5359Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5403Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5447Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5492Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5537Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5595Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5653Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5706Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5759Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5812Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5867Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5923Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 5967Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6011Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6055Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6107Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6160Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6205Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6252Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6304Assert.Equal("obj5, obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6351Assert.Equal("obj4", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6385Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6436Assert.Equal("obj5", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 6476Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared))
FlowAnalysis\TryLockUsingStatementTests.vb (49)
60Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 147Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 197Assert.Equal("e2", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 244Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 301Assert.Equal("ex, ex", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 360Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 417Assert.Equal("ex", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 529Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 578Assert.Equal("e, e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 622Assert.Equal("y, ex, y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 663Assert.Equal("ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 707Assert.Equal("ax, ex", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 756Assert.Equal("e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 802Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 851Assert.Equal("ex, e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 896Assert.Equal("ax", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 976Assert.Equal("s, ax, s, ex, s, s", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1035Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1075Assert.Equal("y, e, e", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1128Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1172Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1228Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1283Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1324Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysis.VariablesDeclared)) 1374Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1424Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1473Assert.Equal("e, d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1522Assert.Equal("d, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1569Assert.Equal("e, ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1603Assert.Equal("ap", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1753Assert.Equal(0, dataFlowAnalysisResults.VariablesDeclared.Count) 1802Assert.Equal(0, dataFlowAnalysisResults.VariablesDeclared.Count) 1853Assert.Equal(0, dataFlowAnalysisResults.VariablesDeclared.Count) 1891Assert.Empty(analysis.VariablesDeclared) 1929Assert.Equal("x, y", GetSymbolNamesJoined(analysis.VariablesDeclared)) 1968Assert.Equal("x, y", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2000Assert.Equal("x, y", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2036Assert.Equal("goo, goo2, goo3, goo4", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2075Assert.Equal("x, y, y", GetSymbolNamesJoined(analysis.VariablesDeclared)) 2111Assert.Equal("x", GetSymbolNamesJoined(dataflowAnalysis.VariablesDeclared)) 2155Assert.Equal("i", GetSymbolNamesJoined(dataflowAnalysis.VariablesDeclared)) 2221Assert.Equal(2, dataFlowAnalysisResults.VariablesDeclared.Count) 2222Assert.Equal("goo1", dataFlowAnalysisResults.VariablesDeclared(0).ToDisplayString) 2223Assert.Equal("goo2", dataFlowAnalysisResults.VariablesDeclared(1).ToDisplayString) 2283Assert.Equal(0, dataFlowAnalysisResults.VariablesDeclared.Count) 2343Assert.Equal(0, dataFlowAnalysisResults.VariablesDeclared.Count) 2401Assert.Equal(2, dataFlowAnalysisResults.VariablesDeclared.Count) 2402Assert.Equal("goo1", dataFlowAnalysisResults.VariablesDeclared(0).ToDisplayString) 2403Assert.Equal("goo2", dataFlowAnalysisResults.VariablesDeclared(1).ToDisplayString)
Semantics\ForeachTest.vb (1)
1328Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.VariablesDeclared))
Semantics\ForLoopTest.vb (1)
594Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.VariablesDeclared))
Semantics\GotoTests.vb (3)
52Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 96Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 139Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowResults.VariablesDeclared))
Semantics\IFOperatorTest.vb (1)
1188Assert.Equal(variablesDeclared, GetSymbolNamesSortedAndJoined(analyze.VariablesDeclared))
Semantics\IteratorTests.vb (1)
192Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared))
Semantics\MeMyBaseMyClassTests.vb (7)
48Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 88Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 122Assert.Equal("y", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 156Assert.Equal("X", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 194Assert.Equal("x, x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 230Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared)) 266Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.VariablesDeclared))
Semantics\MultiDimensionalTest.vb (2)
338Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.VariablesDeclared)) 357Assert.Equal(VariablesDeclaredSymbol, GetSymbolNamesSortedAndJoined(analyze.VariablesDeclared))
Semantics\QueryExpressions_FlowAnalysis.vb (75)
113Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 160Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 207Assert.Equal("s1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 258Assert.Equal("z", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 309Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 350Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 402Assert.Equal("s1, s1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 403Assert.NotSame(dataFlowAnalysisResults.VariablesDeclared(0), dataFlowAnalysisResults.VariablesDeclared(1)) 444Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 486Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 527Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 568Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 609Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 650Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 691Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 755Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 819Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 883Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1018Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1219Assert.Equal("s", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1274Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1329Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1384Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1439Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1494Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1549Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1605Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1649Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1699Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1755Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1811Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1867Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1919Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 1971Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2023Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2075Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2127Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2177Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2236Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2295Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2354Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2412Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2470Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2528Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2593Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2658Assert.Equal("s1, i1, k1, Group, Count, c1", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2723Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2787Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2858Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 2929Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3000Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3071Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3142Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3213Assert.Equal("s1, s2, s3, c1, c2, s4, Group", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3268Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3323Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3378Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3433Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3488Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3543Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3598Assert.Equal("s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3653Assert.Equal("s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3710Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3767Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3824Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3881Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3938Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 3995Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4052Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4109Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4166Assert.Equal("t1, s1, s2, Count", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4223Assert.Equal("t1, s1, s2, Count, c", GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4259Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared)) 4292Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.VariablesDeclared))
Semantics\SyncLockTests.vb (6)
41Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)) 75Assert.Equal("x1", GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)) 108Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)) 143Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)) 176Assert.Equal(Nothing, GetSymbolNamesJoined(analysisDataflow.VariablesDeclared)) 204Assert.Equal("x", GetSymbolNamesJoined(analysisDataflow.VariablesDeclared))
Semantics\WithBlockSemanticModelTests.vb (3)
141Assert.Empty(dataFlowResults.VariablesDeclared) 173Assert.Empty(dataFlowResults.VariablesDeclared) 205Assert.Empty(dataFlowResults.VariablesDeclared)