Open
Description
The commercial at ('@
') symbol, that can be used in symbol names, sometimes gets eaten when displaying the syntax tree, and sometimes not. The difference, as far as I can see, is related to whether the Identifier value is displayed on a single line (when there is no whitespace trivia) or not (when there is some whitespace). See an example:
public class C {
int x;
int X {
get => @x;
set => @x = value;
}
}
Here the Identifier value in getter is displayed as @x
, but in setter it's just x
. See also the picture below:
Metadata
Assignees
Labels
No labels
Activity