roslyn:get_generated_code
Retrieve the full source code of a generated file from a specified .NET project, using the file name to access the exact generated output.
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 |