-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-CompilersBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
Version Used: 4.7.0
Steps to Reproduce:
Run the following code:
SyntaxFactory.ParseExpression("1 is var i").NormalizeWhitespace().ToString()Expected Behavior:
The code returns the string "1 is var i", i.e. it returns the code unchanged.
Actual Behavior:
The code returns "1is var i", i.e. there is no space between 1 and is. This is technically correct C#, but I find this formatting quite odd and not consistent with how is is formatted in other cases.
Metadata
Metadata
Assignees
Labels
Area-CompilersBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it