public override SyntaxNode VisitPropertyList(PropertyListSyntax node) { if ((this.NodeInSpan(node)) && (node.Properties != null) && (node.Properties.Count > 0) && (!node.ContainsDiagnostics)) { List <SyntaxNodeSortInfo <PropertySyntaxOrEmpty> > list = SyntaxNodeSortInfo <PropertySyntaxOrEmpty> .FromSyntaxList(node.Properties); list.Sort(new PropertyComparer()); SyntaxList <PropertySyntaxOrEmpty> properties = SyntaxNodeSortInfo <PropertySyntaxOrEmpty> .ToSyntaxList(list); node = node.WithProperties(properties); } return(base.VisitPropertyList(node)); }