analyze_data_flow
Analyze variable declarations, reads, writes, and captures within a C# method region to understand data flow before extracting code.
Instructions
Analyze data flow within a range of statements in a C# method. Returns variables declared, read, written, captured by lambdas, and flowing in/out of the region. Useful for understanding variable lifecycle before extracting code.
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) |