roslyn:get_generated_code
Retrieve the source code generated by C# source generators for a specific project and file. Use this tool to inspect automatically generated code that isn't visible in your source files.
Instructions
View the source code produced by a source generator.
USAGE: get_generated_code(projectName: "MyApp", generatedFileName: "MyType.g.cs")
OUTPUT: Full source code of the generated file. Use get_source_generators first to discover available generated files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectName | Yes | Project containing the generated file | |
| generatedFileName | Yes | Name of the generated file |