forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'dotnet/features/ExpressionVariables' into 'dotnet/dev15.7.x'
Merge 'dotnet/features/ExpressionVariables' into 'dotnet/dev15.7.x'
- Loading branch information
Showing
100 changed files
with
7,129 additions
and
2,386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Expression Variables | ||
========================= | ||
|
||
The *expression variables* feature extends the features introduced in C# 7 to permit expressions | ||
containing expression variables (out variable declarations and declaration patterns) in field | ||
initializers, property initializers, ctor-initializers, and query clauses. | ||
|
||
See https://github.com/dotnet/csharplang/issues/32 and | ||
https://github.com/dotnet/csharplang/blob/master/proposals/expression-variables-in-initializers.md | ||
for more information. | ||
|
||
Current state of the feature: | ||
|
||
[X] Permit in field initializers | ||
[X] Permit in property initializers | ||
[ ] Permit in ctor-initializers | ||
[X] Permit in query clauses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.