roslyn:find_implementations
Locate all implementations of an interface or abstract class in C# source code. Returns implementing types with their zero-based file positions.
Instructions
Find all implementations of an interface or abstract class. Returns implementing types with their locations. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>",
"line": "<line>",
"column": "<column>"
},
"name": "roslyn:find_implementations"
}
}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 | |
| maxResults | No | Maximum number of implementations to return (default: 50). Results are truncated with a hint if limit is exceeded. |