提交 bb3f6e00 编写于 作者: B Basoundr_ms

Bugfix# 1082026 This is a formatting case with Initializer Syntax that went...

Bugfix# 1082026 This is a formatting case with Initializer Syntax that went unhandled. Testcase added previously ascertained the regression. Now modifying the testcase to handle the regression.

Also a CR comment (changeset 1396819)
上级 d01e3a2f
......@@ -545,7 +545,7 @@ public static bool IsPlusOrMinusExpression(this SyntaxToken token)
public static bool IsInterpolation(this SyntaxToken currentToken)
{
return currentToken.Parent != null && currentToken.Parent.IsKind(SyntaxKind.Interpolation);
return currentToken.Parent.IsKind(SyntaxKind.Interpolation);
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册