Neal Gafter
Neal Gafter
@mjsabby There are no current plans for an 8.1 release.
@jkotas Rather than using reflection, the compiler could implement this by injecting a `static internal` method into the type that does nothing, and then calling that method in the generated...
This is a "proposal issue" because we need to add a proposal/spec to the repo.
The trees are functional, and enable incremental parsing (even if the parser isn't incremental today). When we designed the green-tree model originally, in Roslyn for C#, we did indeed implement...
Thanks to @alrz for implementing this feature!
I added https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/leading-separator.md which will serve as a spec.
I'm championing this as the idea of having comparison-based pattern-matching forms.
@HaloFour Yes, that syntax is fine. Also `case > 10`. Not sure how it should work when the input is of type object, for example.
@bondsbw Can you give an example? Remember these are patterns, not expressions. For ranges, I expect the syntax would be something like `in 1 to 10`, for example `case in...
The LDM confirmed this as part of a set of pattern-matching features for consideration in C# 9.0. This depends for its utility on the `and` pattern combinator, so we would...