roslyn:find_callers
Identify all methods and properties that call or reference a specific symbol to analyze code impact before making changes. Essential for understanding what code will be affected by modifications.
Instructions
Find all methods/properties that call or reference a specific symbol (inverse of find_references). Essential for impact analysis: 'If I change this method, what code will be affected?' IMPORTANT: Uses ZERO-BASED coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to source file | |
| line | Yes | Zero-based line number (editor line - 1) | |
| column | Yes | Zero-based column number (editor column - 1) | |
| maxResults | No | Maximum number of call sites to return (default: 100). Results are truncated with a hint if limit is exceeded. |