roslyn:get_type_hierarchy
Retrieve the inheritance hierarchy of a type, including base and derived types, using zero-based file coordinates.
Instructions
Get the inheritance hierarchy (base types and derived types) for a type. Returns baseTypes chain and derivedTypes list. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| filePath | Yes | Absolute path to source file | |
| maxDerivedTypes | No | Maximum number of derived types to return (default: 50). Results are truncated with a hint if limit is exceeded. |