analyze_data_flow
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.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
filePath | string | ✓ | Full path to the C# source file |
startLine | int | ✓ | First line of the statement range (1-based) |
endLine | int | ✓ | Last line of the statement range (1-based) |