Fred Silberberg

Results 412 comments of Fred Silberberg

### API Review **Conclusion**: We should document that tracking names are not considered public API and users cannot depend on them being consistent in generators they don't own.

> Where should we document this though? Is it sufficient to update our document comments or do we envision this happening elsewhere? Our comments should be sufficient.

No. That's https://github.com/dotnet/csharplang/issues/4082.

Folks, remember that this issue is for list patterns. If we want to start debating what a new collection syntax means in initialization, best to either find an existing issue...

> there is in chance to have any signature like this in future: > int[] firstArray=[1,2,3]; > int[] secondArray = [...firstArray,5,6,7,8,9]; @sajjadarashhh https://github.com/dotnet/csharplang/issues/5354

Well, the main issue is that `..` is a slice pattern, which is exactly what `..` is used for today. `var slice = list[..^1];` is the corresponding slice expression to...

> Right. But that hasn't shipped yet right? So i think the issue to raise with LDM is: should we have a different syntax (like ...) for the slice pattern?...

Questions 1-3 were discussed in LDM on May 23rd, 2022. We still need to confirm question 3, which we will do after discussing question 4. https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-05-23.md#open-issues-for-ref-fields

No. See the motivation section of the proposal, which mentions that exact pattern. There are startup costs as the JIT has to do the conversion, and you still have to...

@alrz what's the reason for the large amount of removals?