roslyn:find_reflection_usage
Detect reflection-based type and method usage that static analysis misses. Use to identify hidden dependencies before refactoring, audit security risks, and understand dynamic code behavior in .NET/C# projects.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectName | No | Filter to specific project | |
| maxResults | No | Maximum results (default: 100) |