Merge pull request #1149 from balajikris/ExtractMethod
Fix Extract Method and Generate Variables in Conditional Access Expressions. Fixes #751. Properly handle ConditionalAccessExpressions in ExpressionSyntaxExtensions::CanReplaceWithLValue. When conditional access expressions begin with some form of member binding expression (starts with the dot operator), they cannot be replaced with an LValue. @jmarolf contributed commit cf3dd545 This issue does not affect VB as VB language parses this differently than C#.
Showing
想要评论请 注册 或 登录