reflection-method-find

Locate C# methods by name, class, and parameter signatures using reflection.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill reflection-method-find-ivanmurzak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflection-method-find
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/reflection-method-find
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill reflection-method-find-ivanmurzak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finds and locates methods in a codebase by name, class, and parameter signatures using C# reflection, including private methods.

Core Features & Use Cases

  • Discover methods across assemblies by typeName, methodName, and Parameters (including private ones) to understand code behavior.
  • Filter results with configurable match levels and namespaces to pinpoint exact method signatures in large projects.
  • Use cases include tooling, debugging, and dynamic invocation in Unity and .NET projects.

Quick Start

Run unity-mcp-cli with the reflection-method-find tool and provide a filter object detailing the type, method, and parameters to locate.

Frequently Asked Questions about reflection-method-find

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a method by name and parameter signatures using C# reflection?

You can locate methods by filtering with namespace, typeName, methodName, and inputParameters using C# reflection. This approach supports discovering exact method signatures across multiple assemblies, including private methods, for precise code analysis.

Can I find private methods across assemblies in a Unity project?

Yes, you can find private methods across assemblies in Unity and .NET projects. By applying reflection with configurable match levels, you can pinpoint private method signatures within large codebases for tooling or debugging.

What is reflection used for when locating methods in a codebase?

Reflection is used to locate methods in a codebase by name, class, and parameter signatures. It enables dynamic invocation and method discovery for tooling and debugging without needing static dependencies.

How do I filter method discovery results by namespace and match level?

You can filter method discovery results by configuring match levels and applying namespace filters. This allows you to narrow down the search scope and pinpoint exact method signatures within large C# projects.

Does dynamic invocation of located methods work with parameter signature filtering?

Yes, dynamic invocation is supported after locating methods using reflection and parameter signature filtering. By specifying inputParameters with configurable match levels, you can identify the exact method to invoke dynamically.