提交 ee1f5532 编写于 作者: R Rob Siklos

addressing code style comments from code review

上级 7ba06e25
......@@ -38,8 +38,9 @@ public override bool OpenFileOnly(Workspace workspace)
protected abstract string GetLanguageName();
/// <summary>
/// Reports on whether the specified member is suitable for qualification. Some member access expressions cannot be qualified;
/// for instance if they begin with <c>base.</c>, <c>MyBase.</c>, or <c>MyClass.</c>.
/// Reports on whether the specified member is suitable for qualification. Some member
/// access expressions cannot be qualified; for instance if they begin with <c>base.</c>,
/// <c>MyBase.</c>, or <c>MyClass.</c>.
/// </summary>
/// <returns>True if the member access can be qualified; otherwise, False.</returns>
protected abstract bool CanMemberAccessBeQualified(SyntaxNode node);
......@@ -74,7 +75,7 @@ private void AnalyzeOperation(OperationAnalysisContext context)
}
// If we can't be qualified (e.g., because we're already qualified with `base.`), we're done.
if (CanMemberAccessBeQualified(memberReference.Instance.Syntax) == false)
if (!CanMemberAccessBeQualified(memberReference.Instance.Syntax))
{
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册