-The Component Designer uses a [source generator](https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/) to find any calls to `Discord.ComponentDesigner.cx`, using a [custom parser](./src/Discord.Net.ComponentDesigner.Parser/) parse the syntax, validates the structure against Discord's component contraints, and if everything looks good then an [interceptor](https://github.com/dotnet/roslyn/blob/main/docs/features/interceptors.md) is emitted, replacing the `cx` call with the Discord.Net component builder strucutre.
0 commit comments