- 05 12月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
-
- 04 12月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
We now forbid the use of `var` as a pattern's type except in the var pattern, where it is forbidden to bind to a user-declared type. Requires LDM and compat council review.
-
- 02 12月, 2017 2 次提交
-
-
由 Neal Gafter 提交于
without additional disambiguating syntax, per 2017-11-20 LDM decision.
-
由 Neal Gafter 提交于
-
- 01 12月, 2017 3 次提交
-
-
由 Neal Gafter 提交于
-
由 Neal Gafter 提交于
-
由 Neal Gafter 提交于
Add a when clause to the switch expression's cases Add support for binding the switch expression (but not decision tree) Implement flow analysis for switch expression Adjust precedence of the constant pattern in a switch expression arm.
-
- 22 11月, 2017 2 次提交
-
-
由 Neal Gafter 提交于
-
由 Neal Gafter 提交于
-
- 21 11月, 2017 6 次提交
-
-
由 Neal Gafter 提交于
- Move `PartialCaseDecision` inside `DecisionDagBuilder`. - The implementation of equality for `BoundDagEvaluation` and `BoundDagTemp` are moved to separate source files. - `SyntheticBoundNodeFactory.AssignmentExpression(LocalSymbol left, BoundExpression right)` is removed as unused. - Removed commented-out code in `LocalRewriter_Patterns.cs` and `PatternParsingTests.cs`
-
由 Neal Gafter 提交于
Simplify parsing a subpattern list. Check recursive pattern feature at the top level of the pattern only.
-
由 Neal Gafter 提交于
by using out parameters instead of assigning to locals in the enclosing scope.
-
由 Neal Gafter 提交于
-
由 Neal Gafter 提交于
-
由 Neal Gafter 提交于
-
- 18 11月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
- [x] https://github.com/dotnet/roslyn/pull/23208#discussion_r151519706 try-finally can be eliminated in local function `looksLikeCast` in `ParseExpressionOrPattern` - [x] Recommend adding some blank lines back to Syntax.xml. See https://github.com/dotnet/roslyn/pull/23208#discussion_r151802628 and https://github.com/dotnet/roslyn/pull/23208#discussion_r151802657 . - [x] Parameter unused in `private ScanTypeFlags ScanType(bool forPattern = false)`; See https://github.com/dotnet/roslyn/pull/23208#discussion_r151807815 . Also the same comment for the caller; see https://github.com/dotnet/roslyn/pull/23208#discussion_r151808973 . - [x] Prefer types spelled out instead of `out var` (including in `LanguageParser.cs` and `LanguageParser_Patterns.cs`); See https://github.com/dotnet/roslyn/pull/23208#discussion_r151808453 and https://github.com/dotnet/roslyn/pull/23208#discussion_r151808516 et al.
-
- 17 11月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
-
- 16 11月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
-
- 15 11月, 2017 2 次提交
-
-
由 Neal Gafter 提交于
- Remove BoundDagEvaluation.Symbol from the public API - BoundDagTemp is not permitted a null type - Adjust test for new lowering of pattern-is - Adjust tests per changes in `is pattern` code generation - Lower RecursivePattern.VariableAccess - Retire or comment out (for now) some retiring code. - Move MatchConstantValue into the class with its only client. - Use the more efficient equality for double, decimal, etc switches. - Implement and test support for tuples. - Implement building the decision tree and its subsumption errors.
-
由 Neal Gafter 提交于
- Add support for recursive patterns in `is`. - Add the discard pattern `_`. - Add skeletal IOperation support. - Adjust tests per changes in `is pattern` code gen.
-
- 12 11月, 2017 1 次提交
-
-
由 Neal Gafter 提交于
-
- 14 10月, 2017 1 次提交
-
-
由 Heejae Chang 提交于
-
- 13 10月, 2017 7 次提交
-
-
由 Manish Vasani 提交于
-
由 Omar Tawfik 提交于
-
由 Omar Tawfik 提交于
Add tests to make sure virtual slot is set correctly for parent types of types that have modreq members or implementations (#22646) * Add tests to make sure virtual slot is set correctly for parent types of types that have modreq members or implementations * PR comments
-
由 Manish Vasani 提交于
-
由 Fredric Silberberg 提交于
-
由 Gen Lu 提交于
-
由 Gen Lu 提交于
-
- 12 10月, 2017 5 次提交
-
-
由 Gen Lu 提交于
-
由 Omar Tawfik 提交于
* Compiler API not to return [Obsolete] for IsByRefLikeTypes * Clean up * typo
-
由 Neal Gafter 提交于
Fixes #20103
-
由 Fredric Silberberg 提交于
-
由 Fredric Silberberg 提交于
-
- 11 10月, 2017 6 次提交
-
-
由 Heejae Chang 提交于
* fixed using block * updated tests after synching master * PR feedbacks
-
由 Gen Lu 提交于
-
由 Petr Onderka 提交于
Merged on behalf of @svick. Thanks for the contribution!
-
由 Fredric Silberberg 提交于
-
由 Manish Vasani 提交于
-
由 Fredric Silberberg 提交于
-