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