Dapeng Zhang
Dapeng Zhang
This is not a PR meant to be merged. Just post it in case the feature branch gets cleaned up
This PR introduces a global cache for types when we are doing the type conversion from TCGC's type to our input types in the emitter.
Support the generation for typespec such as: ```typespec op foo(...Bar): void; ``` Currently our generator here just ignores the body, even if `Bar` is a body parameter. I notice this...
The property in structs should not have setters.
There are duplicated APIs for attributes: 1. https://github.com/microsoft/typespec/blob/26c2924413b0452441b9d401e34c6a44143f9e2d/packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Providers/TypeProvider.cs#L30 2. https://github.com/microsoft/typespec/blob/26c2924413b0452441b9d401e34c6a44143f9e2d/packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Providers/TypeProvider.cs#L214 For attributes on types, I think we should do the same as we did for other members such as properties,...