roslyn:analyze_change_impact
Identify breaking changes caused by modifying a C# symbol. Provide file position and change type to get impacted locations and safety analysis.
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 |
|---|---|---|---|
| line | Yes | Zero-based line number of the symbol | |
| column | Yes | Zero-based column number | |
| filePath | Yes | Absolute path to source file | |
| newValue | No | Optional: new value for rename/changeType | |
| changeType | Yes | Type of change: rename, changeType, addParameter, removeParameter, changeAccessibility, delete |