roslyn:find_attribute_usages
Discover all types and members decorated with a given attribute, such as [Authorize] or [HttpGet]. Quickly locate endpoints, authorization points, and serialization config across your .NET project.
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 |
|---|---|---|---|
| maxResults | No | Maximum results (default: 100) | |
| projectName | No | Filter to specific project | |
| attributeName | Yes | Attribute name (e.g. 'Authorize', 'HttpGet', 'Obsolete') |