2 overrides of DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
115public override ImmutableArray<ISymbol> DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
84Public Overrides ReadOnly Property DefinitelyAssignedOnEntry As ImmutableArray(Of ISymbol)
519 references to DefinitelyAssignedOnEntry
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
141if (dataFlow != null && !dataFlow.DefinitelyAssignedOnEntry.Contains(exprSymbol))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (260)
FlowAnalysis\RegionAnalysisTests.cs (260)
61Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 97Assert.Equal("args, s", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 137Assert.Equal("args, i, s", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 164Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 234Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 259Assert.Equal("s", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 280Assert.Equal("this, x, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 301Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 389Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 411Assert.Equal("this, s, i, myvar", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 435Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 464Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 487Assert.Equal("this, x, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 507Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 528Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 549Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 570Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 591Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 612Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 633Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 654Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 675Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 696Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 713Assert.Equal("args, a, b, d", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 730Assert.Equal("args, a, b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 747Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 764Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 781Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 798Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 815Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 835Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 855Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 874Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 893Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 913Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 933Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 956Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 984Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1012Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1043Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1064Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1081Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1104Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1127Assert.Equal("s, ss", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1148Assert.Equal("this", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1173Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1198Assert.Equal("this, t", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1224Assert.Equal("this, t, ret", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1249Assert.Equal("y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1279Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1309Assert.Equal("z, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 1366GetSymbolNamesJoined(results2.DefinitelyAssignedOnEntry)); 1416Assert.Null(GetSymbolNamesJoined(results2.DefinitelyAssignedOnEntry)); 1441Assert.Null(GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1458Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1476Assert.Equal("x, y", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1497Assert.Null(GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 1570Assert.Equal("args, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1598Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1632Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1672Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1713Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1754Assert.Equal("s", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1793Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1830Assert.Equal("i, p", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1864Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1899Assert.Equal("x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1934Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 1969Assert.Equal("x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2008Assert.Equal("x, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2048Assert.Equal("x, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2082Assert.Equal("b1, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2120Assert.Equal("b0, b1", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2156Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2193Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2253Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 2284Assert.Null(GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2313Assert.Null(GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2346Assert.Null(GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2371Assert.Equal("args", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2405Assert.Equal("x", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2439Assert.Equal("x", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2473Assert.Equal("x", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 2496Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 4538Assert.Equal("args, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 4659Assert.Equal("this", GetSymbolNamesJoined(dataFlow.DefinitelyAssignedOnEntry)); 4705Assert.Equal("this", GetSymbolNamesJoined(dataFlow.DefinitelyAssignedOnEntry)); 5004Assert.Equal("this", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 5085Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5118Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5147Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5175Assert.Equal("args, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5194Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5223Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 5251Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5278Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5312Assert.Null(GetSymbolNamesJoined(results1.DefinitelyAssignedOnEntry)); 5345Assert.Equal("p, x, y", GetSymbolNamesJoined(results1.DefinitelyAssignedOnEntry)); 5375Assert.Equal("this, ary", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 5414Assert.Equal("this, i", GetSymbolNamesJoined(dataFlows.DefinitelyAssignedOnEntry)); 5447Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5662Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5692Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5720Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5747Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5774Assert.Equal("nums", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5809Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5842Assert.Equal("nums, num", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5876Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 5908Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6021Assert.Equal("i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6058Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6095Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6134Assert.Equal("this, p", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6173Assert.Equal("this, node", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6257Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 6325Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 6570Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6601Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6631Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6661Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6696Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6734Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6796Assert.Equal("x", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6823Assert.Equal("arg", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6853Assert.Equal("this, x", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6883Assert.Equal("this", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6913Assert.Equal("this, y", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6945Assert.Equal("this", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 6981Assert.Equal("this, x", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 7015Assert.Equal("this", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 7047Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 7079Assert.Equal("this, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 7468Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7498Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7528Assert.Equal("this, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7561Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7591Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7621Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7651Assert.Equal("this", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7681Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7711Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7741Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7771Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7801Assert.Equal("this, value", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7830Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7859Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7884Assert.Null(GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7920Assert.Equal("this, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 7970Assert.Equal("this, test, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 8069Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 8157Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8188Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8220Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8256Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8290Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8325Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8365Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8406Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8441Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8476Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8511Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8543Assert.Equal("a", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8575Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8611Assert.Equal("a", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8647Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8679Assert.Equal("a", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8711Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8747Assert.Equal("a", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8783Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8814Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8849Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8880Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8915Assert.Null(GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 8951Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 8977Assert.Equal("i, args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 9002Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 9047Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 9096Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)); 9293Assert.Equal("value", GetSymbolNamesJoined(results.DefinitelyAssignedOnEntry)); 9327Assert.Equal("value", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 9362Assert.Equal("value", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 9652Assert.Equal("this, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 9707Assert.Equal((thisIsAssignedOnEntry ? "this, " : "") + "x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 9761Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 9919Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10092Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10132Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 10171Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10211Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10291Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 10371Assert.Equal("x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 10486Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 10539Assert.Equal("this, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10592Assert.Equal("this, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10768Assert.Equal("this, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 10952Assert.Equal("this" + (xIsAssignedOnEntry ? ", x" : ""), GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11032Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11118Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11171Assert.Equal("this, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11224Assert.Equal("this", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11351Assert.Equal("this, x, y, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11418Assert.Equal("y, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11485Assert.Equal("x, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11552Assert.Equal("z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11593Assert.Equal("this, x, z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11756Assert.Equal("this, x, y, z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 11837Assert.Equal("y, z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 11961Assert.Equal("x, z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12085Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12146Assert.Equal("this, x, z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry, sort: true)); 12218Assert.Equal("z", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12351Assert.Equal("z1, z2", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12421Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12463Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12505Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12548Assert.Equal("x, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12583Assert.Equal("x, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12618Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12653Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12688Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12723Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12758Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12793Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12828Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12863Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12898Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12933Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 12968Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13003Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13038Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13073Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13108Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13143Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13178Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13223Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13257Assert.Null(GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13292Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13327Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13362Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13400Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13435Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13470Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13505Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13540Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13575Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13610Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13645Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13680Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13717Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13752Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13787Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13822Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13857Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13892Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13932Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 13970Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 14010Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 14050Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)); 14090Assert.Equal("x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
141if (dataFlow != null && !dataFlow.DefinitelyAssignedOnEntry.Contains(exprSymbol))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (256)
FlowAnalysis\FlowTestBase.vb (1)
232AssertEx.Equal(If(definitelyAssignedOnEntry, {}), analysis.DefinitelyAssignedOnEntry.Select(Function(s) s.Name).ToArray())
FlowAnalysis\RegionAnalysisTests.vb (125)
88Assert.Equal("args, s", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 192Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 213Assert.Equal("args, o3", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 463Assert.Equal("args, lambda, arg, arg1", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 495Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 539Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 583Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 733Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1101Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1163Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1299Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1323Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1346Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1371Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1395Assert.Equal("args", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1420Assert.Equal("args, b", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1447Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1477Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 1502Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1533Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1565Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1651Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1677Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1702Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1727Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1753Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1778Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1804Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1829Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1855Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1878Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1903Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1929Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1964Assert.Equal("args, o", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2004Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2043Assert.Equal("args, o", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2070Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2094Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2136Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2159Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2180Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2203Assert.Equal("builder", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2230Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2267Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2296Assert.Equal("Me, b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2320Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2340Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2364Assert.Equal("Me", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2392Assert.Equal("Me, f", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2415Assert.Equal("Me, x, a, tmp", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2444Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2482Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2503Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2524Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2561Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2592Assert.Equal("Me, x, a, b, c", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2624Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2736Assert.Equal("Me, x, ext", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2755Assert.Equal("Me, x, ext", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 2784Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2819Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2851Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2876Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2903Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2927Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2950Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2972Assert.Equal("x, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2994Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3017Assert.Equal("ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3049Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3088Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3125Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3162Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3188Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3214Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3253Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3285Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3317Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3343Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3369Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3410Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3443Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3479Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3518Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3553Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3593Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3651Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.DefinitelyAssignedOnEntry)) 3685Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.DefinitelyAssignedOnEntry)) 3730Assert.Equal("Me", GetSymbolNamesJoined(dataResults1.DefinitelyAssignedOnEntry)) 3949Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3990Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4053Assert.Equal("b, ext", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4078Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4101Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4124Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4148Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4172Assert.Equal("Me, ext, x, xx", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4195Assert.Equal("Me, ext, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4223Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4253Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4283Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4311Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4339Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4367Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4393Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4419Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4447Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4475Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4503Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4531Assert.Equal("Me, ext, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4621Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 4655Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 5535Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.DefinitelyAssignedOnEntry)) 5573Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.DefinitelyAssignedOnEntry)) 6861Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6912Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6958Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7007Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7052Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7309Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7345Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7383Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7421Assert.Equal("args, k", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7455Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 7489Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry))
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (130)
144Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 256Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 283Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 308Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 347Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 629Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 719Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 746Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 772Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 798Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 825Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 851Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 878Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 904Assert.Equal(Nothing, GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 931Assert.Equal("b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 955Assert.Equal("Me, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1040Assert.Equal("args, o", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1081Assert.Equal("args, o, oo", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1121Assert.Equal("args, o", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1149Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1174Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1198Assert.Equal("Me, t", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1220Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1244Assert.Equal("Me, x, a", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1266Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1290Assert.Equal("builder", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1321Assert.Equal("Me, b, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1349Assert.Equal("Me, b", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1374Assert.Equal("Me, i", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1395Assert.Equal("Me, args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1419Assert.Equal("Me, x, a, tmp", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 1607Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1642Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1675Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1701Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1734Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1774Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1812Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1850Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1877Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1904Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1944Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 1977Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2010Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2037Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2064Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2106Assert.Equal("ary, local01, local02", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2139Assert.Equal("Me", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2176Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2216Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2252Assert.Equal("Me, args, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2292Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2333Assert.Equal("Me, t", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2364Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2395Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2424Assert.Equal("Me, x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2451Assert.Equal("Me, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2541Assert.Equal("Me, p, v", GetSymbolNamesJoined(dataFlowAnalysis.DefinitelyAssignedOnEntry)) 2576Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 2992Assert.Equal("local, constLocal, f", GetSymbolNamesJoined(analysisResult.DefinitelyAssignedOnEntry)) 3030Assert.Equal("Me, mp, local, constLocal, lf", GetSymbolNamesJoined(analysisResult.DefinitelyAssignedOnEntry)) 3102Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3191Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3235Assert.Equal("x, y", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3278Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3349Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3388Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3428Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3466Assert.Equal("o", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3551Assert.Equal("a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3602Assert.Equal("i, l, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3649Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3695Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3741Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3786Assert.Equal("i, a", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3822Assert.Equal("x", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3859Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3903Assert.Equal("localint", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3949Assert.Equal(Nothing, GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 3990Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4070Assert.Equal("goo", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4147Assert.Equal("x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4192Assert.Equal("args, x, bb, ret", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4240Assert.Equal("f", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4284Assert.Equal("args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4328Assert.Equal("args, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4356Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4380Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4403Assert.Equal("args", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4427Assert.Equal("args, x, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4451Assert.Equal("args, x", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4480Assert.Equal("Me, x, a, y", GetSymbolNamesJoined(analysis.DefinitelyAssignedOnEntry)) 4589Assert.Equal("Me, x, x, i", GetSymbolNamesJoined(dataFlowAnalysisResults.DefinitelyAssignedOnEntry)) 4643Assert.Equal("local", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4693Assert.Equal("args, igoo, at1", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4735Assert.Equal("args, at1", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4772Assert.Equal("Me, args", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4806Assert.Equal("Me, args, var1", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4854Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4900Assert.Equal("Me, func, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 4964Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5135Assert.Equal("Me, i", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5201Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5243Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5282Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5321Assert.Equal("Me, i, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5364Assert.Equal("Me, i, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5408Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5452Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5497Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5542Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5600Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5658Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5711Assert.Equal("Me, x, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5764Assert.Equal("Me, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5817Assert.Equal("Me, s", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5872Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5928Assert.Equal("Me", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 5970Assert.Equal("obj", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6014Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6058Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6110Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6163Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6208Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6255Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6307Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6354Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6387Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6439Assert.Equal("obj1, obj2", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry)) 6479Assert.Equal("args, x", GetSymbolNamesJoined(dataFlowResults.DefinitelyAssignedOnEntry))
Microsoft.CodeAnalysis.Workspaces (1)
ReassignedVariable\AbstractReassignedVariableService.cs (1)
381if (analysis.DefinitelyAssignedOnEntry.Contains(localOrParameter))