提交 1fce13c3 编写于 作者: M Madalyn Redding

Removing unneccesary helper

上级 85ad21a0
......@@ -372,19 +372,6 @@ public static bool IsLeftSideOfCompoundAssignExpression(this SyntaxNode node)
((AssignmentExpressionSyntax)node.Parent).Left == node;
}
/// <summary>
/// Returns if <paramref name="node"/> is a member access to the .Name attribute of a type.
/// </summary>
public static bool IsNameMemberAccess(this SyntaxNode node)
{
if (node != null && node.IsKind(SyntaxKind.SimpleMemberAccessExpression))
{
var name = ((MemberAccessExpressionSyntax)node).Name;
return name.Identifier.ValueText == "Name";
}
return false;
}
/// <summary>
/// Returns the list of using directives that affect <paramref name="node"/>. The list will be returned in
/// top down order.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册