public override SyntaxNode VisitGenericName(GenericNameSyntax node) { var typeArgument = node.ChildNodes().OfType <TypeArgumentListSyntax>(); if (typeArgument.Any()) { return(SyntaxFactory.IdentifierName(node.Identifier)); } return(node); }
public override SyntaxNode VisitGenericName(GenericNameSyntax node) { var typeArgument = node.ChildNodes().OfType <TypeArgumentListSyntax>(); if (typeArgument.Any()) { return(SyntaxFactory.IdentifierName(node.Identifier)); } return(node); }