analyze_control_flow
Analyze control flow in a C# method to detect unreachable code and understand branching. Returns reachability of start/end points, return statements, and exit points.
Instructions
Analyze control flow within a range of statements in a C# method. Returns reachability of start/end points, return statements, and exit points. Useful for detecting unreachable code and understanding branching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | Yes | Last line of the statement range (1-based) | |
| filePath | Yes | Full path to the C# source file | |
| startLine | Yes | First line of the statement range (1-based) |