2 overrides of Succeeded
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
377public sealed override bool Succeeded
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
273Public NotOverridable Overrides ReadOnly Property Succeeded As Boolean
317 references to Succeeded
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\MakeAnonymousFunctionStatic\MakeAnonymousFunctionStaticDiagnosticAnalyzer.cs (1)
49if (context.SemanticModel.AnalyzeDataFlow(anonymousFunction) is { Succeeded: true, Captured.IsEmpty: true })
src\Analyzers\CSharp\Analyzers\MakeLocalFunctionStatic\MakeLocalFunctionStaticHelper.cs (1)
20return dataFlow is { Succeeded: true };
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AbstractAssignOutParametersCodeFixProvider.cs (1)
40if (dataFlow.Succeeded)
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
139if (dataFlow.Succeeded)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (65)
FlowAnalysis\RegionAnalysisTests.cs (61)
322Assert.False(results.Succeeded); 346Assert.False(results.Succeeded); 370Assert.False(results.Succeeded); 1551Assert.True(dataFlows.Succeeded); 2222Assert.False(analysis.Succeeded); 4441Assert.False(results.Item2.Succeeded); 4530Assert.True(dataFlowAnalysisResults.Succeeded); 4652Assert.True(dataFlow.Succeeded); 4698Assert.True(dataFlow.Succeeded); 5000Assert.True(analysis.Succeeded); 5020Assert.True(analysis.Succeeded); 5038Assert.True(analysis.Succeeded); 5056Assert.True(analysis.Succeeded); 6293Assert.True(dataFlowAnalysisResults.Succeeded); 6317Assert.True(analysis.Succeeded); 6357Assert.True(analysis.Succeeded); 6384Assert.True(analysis.Succeeded); 6428Assert.True(analysis.Succeeded); 6449Assert.True(analysis.Succeeded); 6484Assert.True(analysis.Succeeded); 6564Assert.True(results.Succeeded); 6595Assert.True(results.Succeeded); 6625Assert.True(results.Succeeded); 6655Assert.True(results.Succeeded); 6690Assert.True(results.Succeeded); 6728Assert.True(results.Succeeded); 6758Assert.True(results.Succeeded); 6790Assert.True(results.Succeeded); 6817Assert.True(results.Succeeded); 6847Assert.True(results.Succeeded); 6877Assert.True(results.Succeeded); 6907Assert.True(results.Succeeded); 8021Assert.True(dataFlowAnalysisResults.Succeeded); 8101Assert.False(analysis.Succeeded); 8129Assert.False(analysis.Succeeded); 8151Assert.True(results.Succeeded); 8182Assert.True(results.Succeeded); 8214Assert.True(results.Succeeded); 8250Assert.True(results.Succeeded); 8284Assert.True(results.Succeeded); 8319Assert.True(results.Succeeded); 8359Assert.True(results.Succeeded); 8400Assert.True(results.Succeeded); 8435Assert.True(results.Succeeded); 8470Assert.True(results.Succeeded); 8505Assert.True(results.Succeeded); 8537Assert.True(results.Succeeded); 8569Assert.True(results.Succeeded); 8605Assert.True(results.Succeeded); 8641Assert.True(results.Succeeded); 8673Assert.True(results.Succeeded); 8705Assert.True(results.Succeeded); 8741Assert.True(results.Succeeded); 8777Assert.True(results.Succeeded); 8808Assert.True(results.Succeeded); 8843Assert.True(results.Succeeded); 8874Assert.True(results.Succeeded); 8909Assert.True(results.Succeeded); 9287Assert.True(results.Succeeded); 9321Assert.True(analysis.Succeeded); 9356Assert.True(analysis.Succeeded);
Semantics\OutVarTests.cs (3)
1112Assert.True(dataFlow.Succeeded); 17753Assert.True(dataFlow.Succeeded); 32749if (dataFlow.Succeeded)
Semantics\PatternMatchingTestBase.cs (1)
333if (dataFlow.Succeeded)
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\MakeAnonymousFunctionStatic\MakeAnonymousFunctionStaticDiagnosticAnalyzer.cs (1)
49if (context.SemanticModel.AnalyzeDataFlow(anonymousFunction) is { Succeeded: true, Captured.IsEmpty: true })
src\Analyzers\CSharp\Analyzers\MakeLocalFunctionStatic\MakeLocalFunctionStaticHelper.cs (1)
20return dataFlow is { Succeeded: true };
src\Analyzers\CSharp\CodeFixes\AssignOutParameters\AbstractAssignOutParametersCodeFixProvider.cs (1)
40if (dataFlow.Succeeded)
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
139if (dataFlow.Succeeded)
Microsoft.CodeAnalysis.Features (1)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
404if (!dataFlow.Succeeded)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (243)
FlowAnalysis\FlowTestBase.vb (1)
227Assert.True(analysis.Succeeded)
FlowAnalysis\IterationJumpYieldStatementTests.vb (10)
791Assert.True(dataFlowAnalysisResults.Succeeded) 830Assert.True(dataFlowAnalysisResults.Succeeded) 898Assert.True(dataFlowAnalysisResults.Succeeded) 925Assert.False(dataFlowAnalysisResults.Succeeded) 941Assert.False(dataFlowAnalysisResults.Succeeded) 985Assert.True(dataFlowAnalysisResults.Succeeded) 1202Assert.True(dataFlowAnalysisResults.Succeeded) 1203Assert.True(dataFlowAnalysisResults.Succeeded) 1250Assert.True(dataFlowAnalysisResults.Succeeded) 1471Assert.False(dataFlowResults.Succeeded)
FlowAnalysis\RegionAnalysisTests.vb (139)
84Assert.True(analysis.Succeeded) 115Assert.False(analysis.Succeeded) 131Assert.False(analysis.Succeeded) 151Assert.True(analysis.Succeeded) 167Assert.True(analysis.Succeeded) 185Assert.True(analysis.Succeeded) 211Assert.True(analysis.Succeeded) 231Assert.True(analysis.Succeeded) 247Assert.False(analysis.Succeeded) 263Assert.False(analysis.Succeeded) 281Assert.False(analysis.Succeeded) 309Assert.False(analysis.Succeeded) 323Assert.False(analysis.Succeeded) 339Assert.False(analysis.Succeeded) 356Assert.True(analysis.Succeeded) 373Assert.True(analysis.Succeeded) 390Assert.True(analysis.Succeeded) 407Assert.True(analysis.Succeeded) 433Assert.True(analysis.Succeeded) 458Assert.True(analysis.Succeeded) 490Assert.True(analysis.Succeeded) 516Assert.False(analysis.Succeeded) 536Assert.True(analysis.Succeeded) 580Assert.True(analysis.Succeeded) 604Assert.True(analysis.Succeeded) 628Assert.False(analysis.Succeeded) 648Assert.True(analysis.Succeeded) 668Assert.True(analysis.Succeeded) 1192Assert.True(analysis.Item2.Succeeded) 1253Assert.True(analysis.Item2.Succeeded) 1276Assert.True(analysis.Succeeded) 4616Assert.True(dataFlowAnalysis.Succeeded) 4678Assert.True(dataFlowResults.Succeeded) 4696Assert.False(dataFlowResults.Succeeded) 4714Assert.False(dataFlowResults.Succeeded) 4732Assert.True(dataFlowResults.Succeeded) 4753Assert.True(dataFlowResults.Succeeded) 4776Assert.True(dataFlowResults.Succeeded) 4792Assert.False(dataFlowResults.Succeeded) 4810Assert.False(dataFlowResults.Succeeded) 5288Assert.False(dataFlowResults.Succeeded) 5312Assert.False(dataFlowResults.Succeeded) 5339Assert.False(dataFlowResults.Succeeded) 5366Assert.False(dataFlowResults.Succeeded) 5385Assert.False(dataFlowResults.Succeeded) 5402Assert.False(dataFlowResults.Succeeded) 5425Assert.False(dataFlowResults.Succeeded) 5448Assert.False(dataFlowResults.Succeeded) 5478Assert.False(dataFlowResults.Succeeded) 5506Assert.False(dataFlowResults.Succeeded) 5597Assert.True(dataFlowResults.Succeeded) 5614Assert.False(dataFlowResults.Succeeded) 5631Assert.True(dataFlowResults.Succeeded) 5692Assert.False(dataFlowAnalysisResults.Succeeded) 5718Assert.False(dataFlowAnalysisResults.Succeeded) 5744Assert.True(dataFlowAnalysisResults.Succeeded) 5788Assert.True(dataFlowAnalysisResults.Succeeded) 5831Assert.True(dataFlowAnalysisResults.Succeeded) 5874Assert.False(dataFlowAnalysisResults.Succeeded) 5893Assert.False(dataFlowAnalysisResults.Succeeded) 5922Assert.True(dataFlowAnalysisResults.Succeeded) 5953Assert.False(dataFlowAnalysisResults.Succeeded) 5979Assert.True(dataFlowAnalysisResults.Succeeded) 6010Assert.False(dataFlowAnalysisResults.Succeeded) 6202Assert.False(dataFlowAnalysisResults.Succeeded) 6240Assert.True(dataFlowAnalysisResults.Succeeded) 6291Assert.True(dataFlowAnalysisResults.Succeeded) 6338Assert.True(dataFlowAnalysisResults.Succeeded) 6384Assert.True(dataFlowAnalysisResults.Succeeded) 6430Assert.True(dataFlowAnalysisResults.Succeeded) 6475Assert.True(dataFlowAnalysisResults.Succeeded) 6702Assert.False(dataFlowAnalysisResults.Succeeded) 6722Assert.False(dataFlowAnalysisResults.Succeeded) 6743Assert.True(dataFlowAnalysisResults.Succeeded) 6779Assert.True(dataFlowAnalysisResults.Succeeded) 6811Assert.True(dataFlowAnalysisResults.Succeeded) 6853Assert.True(dataFlowResults.Succeeded) 6904Assert.True(dataFlowResults.Succeeded) 6950Assert.True(dataFlowResults.Succeeded) 6999Assert.True(dataFlowResults.Succeeded) 7044Assert.True(dataFlowResults.Succeeded) 7071Debug.Assert(comp.Succeeded) 7087Debug.Assert(comp.Succeeded) 7102Debug.Assert(comp.Succeeded) 7117Debug.Assert(comp.Succeeded) 7154Assert.False(comp.Succeeded) 7171Assert.False(comp.Succeeded) 7197Assert.True(comp.Succeeded) 7301Assert.True(dataFlowResults.Succeeded) 7337Assert.True(dataFlowResults.Succeeded) 7375Assert.True(dataFlowResults.Succeeded) 7414Assert.True(dataFlowResults.Succeeded) 7447Assert.True(dataFlowResults.Succeeded) 7481Assert.True(dataFlowResults.Succeeded) 7811Assert.True(dataFlowResults.Succeeded) 7860Assert.True(dataFlowResults.Succeeded) 7901Assert.True(dataFlowResults.Succeeded) 7936Assert.True(dataFlowResults.Succeeded) 7969Assert.True(dataFlowResults.Succeeded) 8016Assert.True(dataFlowResults.Succeeded) 8061Assert.True(dataFlowResults.Succeeded) 8124Assert.True(dataFlowResults.Succeeded) 8169Assert.False(dataFlowResults.Succeeded) 8187Assert.True(dataFlowResults.Succeeded) 8207Assert.True(dataFlowResults.Succeeded) 8335Assert.True(dataFlowResults.Succeeded) 8372Assert.True(dataFlowResults.Succeeded) 8413Assert.True(dataFlowResults.Succeeded) 8450Assert.False(dataFlowResults.Succeeded) 8477Assert.True(dataFlowResults.Succeeded) 8518Assert.True(dataFlowResults.Succeeded) 8556Assert.True(dataFlowResults.Succeeded) 8594Assert.True(dataFlowResults.Succeeded) 8636Assert.True(dataFlowResults.Succeeded) 8679Assert.True(dataFlowResults.Succeeded) 8722Assert.True(dataFlowResults.Succeeded) 8766Assert.True(dataFlowResults.Succeeded) 8810Assert.True(dataFlowResults.Succeeded) 8867Assert.True(dataFlowResults.Succeeded) 8924Assert.True(dataFlowResults.Succeeded) 8976Assert.True(dataFlowResults.Succeeded) 9028Assert.True(dataFlowResults.Succeeded) 9080Assert.True(dataFlowResults.Succeeded) 9132Assert.True(dataFlowResults.Succeeded) 9184Assert.True(dataFlowResults.Succeeded) 9238Assert.True(dataFlowResults.Succeeded) 9293Assert.True(dataFlowResults.Succeeded) 9335Assert.True(dataFlowResults.Succeeded) 9378Assert.True(dataFlowResults.Succeeded) 9421Assert.True(dataFlowResults.Succeeded) 9472Assert.True(dataFlowResults.Succeeded) 9524Assert.True(dataFlowResults.Succeeded) 9568Assert.True(dataFlowResults.Succeeded) 9614Assert.True(dataFlowResults.Succeeded) 9665Assert.True(dataFlowResults.Succeeded) 9711Assert.True(dataFlowResults.Succeeded) 9744Assert.True(dataFlowResults.Succeeded) 9794Assert.True(dataFlowResults.Succeeded) 9833Assert.True(dataFlowResults.Succeeded)
FlowAnalysis\RegionAnalysisTestsWithStaticLocals.vb (87)
41Assert.True(analysis.Succeeded) 58Assert.True(analysis.Succeeded) 74Assert.False(analysis.Succeeded) 102Assert.False(analysis.Succeeded) 118Assert.False(analysis.Succeeded) 139Assert.True(analysis.Succeeded) 170Assert.True(analysis.Succeeded) 190Assert.True(analysis.Succeeded) 376Assert.True(analysis.Item2.Succeeded) 403Assert.True(analysis.Item2.Succeeded) 426Assert.True(analysis.Succeeded) 2536Assert.True(dataFlowAnalysis.Succeeded) 2599Assert.False(dataFlowResults.Succeeded) 2617Assert.False(dataFlowResults.Succeeded) 2635Assert.True(dataFlowResults.Succeeded) 2656Assert.True(dataFlowResults.Succeeded) 2679Assert.True(dataFlowResults.Succeeded) 2695Assert.False(dataFlowResults.Succeeded) 2713Assert.False(dataFlowResults.Succeeded) 2860Assert.False(dataFlowResults.Succeeded) 2887Assert.False(dataFlowResults.Succeeded) 2906Assert.False(dataFlowResults.Succeeded) 2936Assert.False(dataFlowResults.Succeeded) 2964Assert.False(dataFlowResults.Succeeded) 3053Assert.True(dataFlowResults.Succeeded) 3070Assert.True(dataFlowResults.Succeeded) 3133Assert.False(dataFlowAnalysisResults.Succeeded) 3159Assert.False(dataFlowAnalysisResults.Succeeded) 3185Assert.True(dataFlowAnalysisResults.Succeeded) 3229Assert.True(dataFlowAnalysisResults.Succeeded) 3272Assert.True(dataFlowAnalysisResults.Succeeded) 3315Assert.False(dataFlowAnalysisResults.Succeeded) 3507Assert.False(dataFlowAnalysisResults.Succeeded) 3545Assert.True(dataFlowAnalysisResults.Succeeded) 3596Assert.True(dataFlowAnalysisResults.Succeeded) 3643Assert.True(dataFlowAnalysisResults.Succeeded) 3689Assert.True(dataFlowAnalysisResults.Succeeded) 3735Assert.True(dataFlowAnalysisResults.Succeeded) 3780Assert.True(dataFlowAnalysisResults.Succeeded) 4015Assert.False(dataFlowAnalysisResults.Succeeded) 4036Assert.False(dataFlowAnalysisResults.Succeeded) 4065Assert.True(dataFlowAnalysisResults.Succeeded) 4098Assert.True(dataFlowAnalysisResults.Succeeded) 4141Assert.True(dataFlowResults.Succeeded) 4186Assert.True(dataFlowResults.Succeeded) 4234Assert.True(dataFlowResults.Succeeded) 4278Assert.True(dataFlowResults.Succeeded) 4303Debug.Assert(comp.Succeeded) 4637Assert.True(dataFlowResults.Succeeded) 4687Assert.True(dataFlowResults.Succeeded) 4729Assert.True(dataFlowResults.Succeeded) 4765Assert.True(dataFlowResults.Succeeded) 4799Assert.True(dataFlowResults.Succeeded) 4847Assert.True(dataFlowResults.Succeeded) 4893Assert.True(dataFlowResults.Succeeded) 4957Assert.True(dataFlowResults.Succeeded) 4986Assert.True(dataFlowResults.Succeeded) 5129Assert.True(dataFlowResults.Succeeded) 5167Assert.False(dataFlowResults.Succeeded) 5195Assert.True(dataFlowResults.Succeeded) 5237Assert.True(dataFlowResults.Succeeded) 5276Assert.True(dataFlowResults.Succeeded) 5315Assert.True(dataFlowResults.Succeeded) 5358Assert.True(dataFlowResults.Succeeded) 5402Assert.True(dataFlowResults.Succeeded) 5446Assert.True(dataFlowResults.Succeeded) 5491Assert.True(dataFlowResults.Succeeded) 5536Assert.True(dataFlowResults.Succeeded) 5594Assert.True(dataFlowResults.Succeeded) 5652Assert.True(dataFlowResults.Succeeded) 5705Assert.True(dataFlowResults.Succeeded) 5758Assert.True(dataFlowResults.Succeeded) 5811Assert.True(dataFlowResults.Succeeded) 5866Assert.True(dataFlowResults.Succeeded) 5922Assert.True(dataFlowResults.Succeeded) 5964Assert.True(dataFlowResults.Succeeded) 6008Assert.True(dataFlowResults.Succeeded) 6052Assert.True(dataFlowResults.Succeeded) 6104Assert.True(dataFlowResults.Succeeded) 6157Assert.True(dataFlowResults.Succeeded) 6202Assert.True(dataFlowResults.Succeeded) 6249Assert.True(dataFlowResults.Succeeded) 6301Assert.True(dataFlowResults.Succeeded) 6348Assert.True(dataFlowResults.Succeeded) 6382Assert.True(dataFlowResults.Succeeded) 6433Assert.True(dataFlowResults.Succeeded) 6473Assert.True(dataFlowResults.Succeeded)
FlowAnalysis\TryLockUsingStatementTests.vb (5)
1370Assert.True(dataFlowAnalysisResults.Succeeded) 1420Assert.True(dataFlowAnalysisResults.Succeeded) 1469Assert.True(dataFlowAnalysisResults.Succeeded) 1518Assert.True(dataFlowAnalysisResults.Succeeded) 1565Assert.True(dataFlowAnalysisResults.Succeeded)
Semantics\QueryExpressions_FlowAnalysis.vb (1)
1083Assert.False(dataFlowAnalysisResults.Succeeded)