Skip to content

Commit 0521053

Browse files
authored
Merge pull request #3563 from Youssef1313/patch-2
Update SA1000.md
2 parents 477eb3e + 40848cd commit 0521053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/SA1000.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ The `new` and `stackalloc` keywords should always be followed by a space, except
3333

3434
* The `new` or `stackalloc` keyword is used to create a new implicitly-typed array. In this case there should be no
3535
space between the keyword and the opening array bracket.
36+
* The `new` keyword is part of implicit object creation (target-typed new). In this case there should be no space between the keyword and the opening parenthesis.
3637
* The `new` keyword is part of a generic type constraint. In this case there should be no space between the `new`
3738
keyword and the opening parenthesis.
3839

0 commit comments

Comments
 (0)