roslyn:find_attribute_usages
Locate all .NET types and members using a specific attribute to identify API endpoints, authorization points, serialization config, or test fixtures.
Instructions
Find all types and members decorated with a specific attribute.
USAGE: find_attribute_usages(attributeName: "Authorize") USAGE: find_attribute_usages(attributeName: "HttpGet", projectName: "MyApi")
OUTPUT: List of symbols with the attribute, their kind, arguments, and source location. Use for: finding all API endpoints, authorization points, serialization config, test fixtures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attributeName | Yes | Attribute name (e.g. 'Authorize', 'HttpGet', 'Obsolete') | |
| projectName | No | Filter to specific project | |
| maxResults | No | Maximum results (default: 100) |