roslyn:analyze_change_impact
Analyze how a symbol change (rename, type change, parameter adjustments) affects your codebase, revealing impacted locations and potential issues before applying the change.
Instructions
Analyze what would break if you change a symbol. Identifies breaking changes before you make them.
USAGE: analyze_change_impact(filePath, line, column, changeType="rename|changeType|addParameter|removeParameter") OUTPUT: List of impacted locations, whether change is safe, and specific issues at each location. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to source file | |
| line | Yes | Zero-based line number of the symbol | |
| column | Yes | Zero-based column number | |
| changeType | Yes | Type of change: rename, changeType, addParameter, removeParameter, changeAccessibility, delete | |
| newValue | No | Optional: new value for rename/changeType |