public override SyntaxNode VisitAttributeList(AttributeListSyntax node) { //TODO:暂全部移除Attribute base.VisitAttributeList(node); return(node.RemoveNodes(node.ChildNodes(), SyntaxRemoveOptions.KeepEndOfLine)); }
public override SyntaxNode VisitAttributeList(AttributeListSyntax node) { //TODO:暂全部移除Attribute base.VisitAttributeList(node); return(node.RemoveNodes(node.ChildNodes(), SyntaxRemoveOptions.KeepEndOfLine)); }