2 overrides of ReturnStatements
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\ControlFlowAnalysis.cs (1)
125
public override ImmutableArray<SyntaxNode>
ReturnStatements
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\ControlFlowAnalysis.vb (1)
105
Public Overrides ReadOnly Property
ReturnStatements
As ImmutableArray(Of SyntaxNode)
45 references to ReturnStatements
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (45)
FlowAnalysis\IterationJumpYieldStatementTests.cs (22)
44
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
78
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
108
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
138
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
168
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
197
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
227
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
256
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
302
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
331
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
360
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
389
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
418
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
447
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
473
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
492
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
511
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
530
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
549
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
571
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
690
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
724
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
FlowAnalysis\RegionAnalysisTests.cs (14)
2876
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
2909
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3009
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3038
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3071
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3823
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3855
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3887
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3919
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
3984
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
4017
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
4298
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
4936
Assert.Empty(analysis.
ReturnStatements
);
5249
Assert.Empty(controlFlowAnalysisResults.
ReturnStatements
);
FlowAnalysis\TryLockUsingStatementTests.cs (9)
50
Assert.Empty(controlFlowAnalysisResults.
ReturnStatements
);
144
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
260
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
298
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
343
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
404
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
449
Assert.Equal(0, controlFlowAnalysisResults.
ReturnStatements
.Count());
1515
Assert.Equal(0, analysisControlFlow.
ReturnStatements
.Count());
1742
Assert.Equal(0, analysisControlFlow.
ReturnStatements
.Count());