roslyn:find_reflection_usage
Identify reflection-based type and method calls hidden from static analysis, exposing dynamic dependencies for safer refactoring and security audits.
Instructions
Detect dynamic/reflection-based type and method usage that is invisible to static reference searches.
USAGE: find_reflection_usage() USAGE: find_reflection_usage(projectName: "MyApp", maxResults: 50)
OUTPUT: List of reflection API calls with the API used, context, and location. Use for: finding hidden dependencies before refactoring, security audits, understanding dynamic behavior.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "roslyn:find_reflection_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Maximum results (default: 100) | |
| projectName | No | Filter to specific project |