roslyn:analyze_change_impact
Identify breaking changes before modifying C# code by analyzing symbol impact across your project. Detects affected locations and safety issues for refactoring operations like renaming or parameter changes.
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 |