-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update spacing rules for C# 7 #2389
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2389 +/- ##
==========================================
+ Coverage 95.3% 95.44% +0.14%
==========================================
Files 664 675 +11
Lines 87833 89486 +1653
Branches 3428 3431 +3
==========================================
+ Hits 83709 85411 +1702
+ Misses 3206 3154 -52
- Partials 918 921 +3
Continue to review full report at Codecov.
|
case SyntaxKind.SelectKeyword: | ||
case SyntaxKind.StackAllocKeyword: | ||
case SyntaxKind.SwitchKeyword: | ||
case SyntaxKind.UsingKeyword: | ||
case SyntaxKind.TypeVarKeyword: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❗️ this is the typevar
keyword used as an attribute location, not the var
keyword I intended.
9ebf8a3
to
57a8b93
Compare
e84bdca
to
f2e2cbd
Compare
Fixes #2267
Fixes #2308
out
keyword forout
variablesref
keyword for ref locals and expressionsvar
keyword=>
ref
expressions]
before a comma in a tuple type(int[], int)
}
before a comma in tuple expression(new[] { 3 }, 3)
>
before a comma or closing parenthesis in tuple type(Func<int>, Func<int>)
(int, int)?
(x: 3, y: 4)