microsoft / typespec

https://typespec.io/
MIT License
3.93k stars 177 forks source link

Add Mapping of CSharpMethods #3424

Open jorgerangel-msft opened 2 months ago

jorgerangel-msft commented 2 months ago

Currently, we express a chain of associated methods as a CSharpMethodCollection. With the removal of CSharpMethodKinds, we should remove the method collection and a property within the CSharpMethod class that represents any nested CSharpMethods.

m-nash commented 1 month ago

public void Foo(OptionBag bag)

public void FooInternal(int x, int y)

$.bag.X => x $.bag.Y => y