roslyn:get_instantiation_options
Discover all ways to instantiate a .NET type by listing constructors, factory methods, and builder patterns for compiler-accurate code generation.
Instructions
Get all ways to create an instance of a type: constructors, factory methods, and builder patterns.
USAGE: get_instantiation_options(typeName="HttpClient") OUTPUT: List of constructors with signatures, static factory methods, and hints (e.g., "implements IDisposable").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | The type name to check (e.g., 'HttpClient') |