Dapeng Zhang

Results 47 issues of Dapeng Zhang

This is not a PR meant to be merged. Just post it in case the feature branch gets cleaned up

DoNotMerge

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.

emitter:client:csharp

Adopts the `examples` from TCGC

emitter:client:csharp

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...

emitter:client:csharp

The property in structs should not have setters.

emitter:client:csharp

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,...

emitter:client:csharp