提交 8e1f3178 编写于 作者: R Ravi Chande

CR feedback

上级 e3c38d7e
......@@ -157,7 +157,7 @@ private bool IsLambdaExpression(SemanticModel semanticModel, int position, Synta
// We need to explicitly exclude invocation/member access from suggestion mode
var previousToken = token.GetPreviousTokenIfTouchingWord(position);
if (previousToken.IsKind(SyntaxKind.DotToken) &&
previousToken.Parent.IsKind(SyntaxKind.InvocationExpression, SyntaxKind.SimpleMemberAccessExpression))
previousToken.Parent.IsKind(SyntaxKind.SimpleMemberAccessExpression))
{
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册